Hi,
So here is my question:
I have a room with a locked door. the way to open the door is to insert some code to a panel.
Now,
The code panel is implemented by a GUI. all works fine with the panel - but when the player insert the right code I want the door to be opened automaticly.
How can I do that?
The panel GUI related script is in the Global Script and the door and its script (for example - animation of door being opened, the sound of it etc.) are in a room.
Is there a way to "tigger/messeage" some script code/function from the global script to a room?
(For now I have a work-around: If the code is right, I updated a global variable and the player now can "open" the door by interact event. but the door is not opened automaticly.)
Thanks!