pgvago
Member
Hello from Italy;
I have a question which is probably easy for expert programmers.
I have an object of which I created 4 instances in a room. These objects are switches of which I need to remember the position once I leave the room.
Making the object persistent would create a problem as I use this switch objects in many rooms and only in this particular case I need to remember the position.
I was thinking of using global variables but I wouldn't know how to reference them from within the object script.
Any suggestions?
Thanks, Pietro.
I have a question which is probably easy for expert programmers.
I have an object of which I created 4 instances in a room. These objects are switches of which I need to remember the position once I leave the room.
Making the object persistent would create a problem as I use this switch objects in many rooms and only in this particular case I need to remember the position.
I was thinking of using global variables but I wouldn't know how to reference them from within the object script.
Any suggestions?
Thanks, Pietro.