How would i go about, writing a script to change rooms on button press?
I tried to use an old "switch room" script object but it doesn't do what I want.
Switching multiple rooms on a button press, with the same button. Like arrow right to go forward and arrow left to go back.
Hope this make sense.
As far as I can tell there isn't any fucntion to change room from a script.
However I have been solving this problem, by placing a doors in the room with the desired destination, and moving them off screen, then I have a script that teleports the appropriate door ontop of a player when I want to change room.
It's not ideal, but it works.
You can use the get_actors function to find a move doors in the room.
[Please log in to post a comment]