Accessing members through procedures or arrays.. in BYOND Discussion
|
|
I've lived in silence long enough! ;) I'd really like to be able to refer to the members of an object without needing to create a reference variable for it.
Eg.
locate(5,5,1).icon_state = "Blah"
or
for(var/a = 1, a < 11, a++) myarray[a].dir = EAST
|
How plausible is it for this to be added?
|
However I think it might be nice to be able to create lists whose members can only be one predifined type, and access them like in your suggestion.