Hey all,
I'm trying to define a relationship between a "Go to layout" action and instance variables.
For example, each door in a room has an instance variable of Exit with values 2-5.
When the player sprite collides with door 3, I want to load the layout called "3".
I've tried using
On collision with Sprite / System / Go to layout "Sprite.Exit"
But it doesn't seem to be working.
What did I miss?
Help!
Thanks in advance