Hello!
I am trying to use the Object.Name property in the global script to access an object's name string from any room.
I've looked around for an answer but can't figure out how to use the "Object array" that I've heard about.
Just wondering if anyone could tell me how it works?
I know the basic format is something like:
"object[2].Name" and that objects are numbered in a room by an ID number, but how does the room number fit in with the object index if we're going for a general script call?
Any insights would be much appreciated.
Thanks!
I am trying to use the Object.Name property in the global script to access an object's name string from any room.
I've looked around for an answer but can't figure out how to use the "Object array" that I've heard about.
Just wondering if anyone could tell me how it works?
I know the basic format is something like:
"object[2].Name" and that objects are numbered in a room by an ID number, but how does the room number fit in with the object index if we're going for a general script call?
Any insights would be much appreciated.
Thanks!