how to properly reset a scene?
![Pennez-Games](http://forums.gamesalad.com/applications/dashboard/design/images/defaulticon.png)
i am wondering how can i properly reset a scene, like i added in when actor dies reset scene, or something like that, but when the scene resets the actors lives is 0 instead of 3, his coin amount is the same before the scene was reset, and the controlls dont work after the scene got reset, how can i fix this?
Comments
Example:
When button or whatever action is active that resets the scene>
Change Attribute: Lives to 3
Change Attribute: Coins to 0
Personally I wouldn't use the in game reset function. I like to make my own Global Attribute called Reset and and in my button or rule that is going to signal the reset I just say:
when Reset if true
Change Attribute: Lives to 3
Change Attribute: Coins to 0
Change Reset to False
Also in the actors self attribute make a real attribute called self.x and self.y and then a change attribute for both that change self.x and self.y to self position x and self position y so that when you reset rule is fired off the actors will all return back to their starting positions.
This is also how I do Pause and unease without using the built in rules.
Good luck
Dan