Change Scene custom
mrpacogp
Member Posts: 400
Hi there, good morning.
Is any way to change to one scene based on attrib?
We can change to scene number X or next scene
But, change to scene self.lv?
Is any way to change to one scene based on attrib?
We can change to scene number X or next scene
But, change to scene self.lv?
Comments
Add an invisible actor on every scene that this will be applied to
Apply a rule to that actor that says if game.Scene is X, change scene to next scene.
Adam
Hi @mrpacogp
So to clarify what @adambowker98 said, you can't change a scene directly with an attribute, but can indirectly, i.e When self.lv =1, change scene S1; When self.lv =2, change scene S2, etc.
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
I want to do it for my level escene, i have custom each actor for select level, and locking for another way to do it with the prototype.
So all possible values of an integer depending which level to go to, is the only way really, in your prototype; you could make this attribute a self attribute I guess, (like you have already), adding one to its value every time the prototype is spawned. Then the list of Change Scene behaviours in the prototype.
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps