how to reset all attributes to its defaults

POMPOM Member Posts: 2,599
edited November -1 in Working with GS (Mac)
hey guys im nearly at the end of the creation of my game,
and that is thanks to all of your help! so thank you!

however, i still need some help with something. ;)
i have about 20 different scenes and each one obviosly has attributes or actors that use game attributes,
my question is, when scene 1 ended and the the player goes to scene 2
i want all of the attributes in scene 1 to reset to there default mode so that if my player comes back to that scene he will be able to play it again.
and i want to apply this to all of my scenes,

i notice that there is a reset scene behavior, but i dont know how to use it
should i use the reset scene behavior?

Comments

  • JoeMeisterJoeMeister Member Posts: 602
    Reset scene is good for nothing. I am looking for an answer as well.
  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    I just reset everything manually, I have a hidden actor called reset that I put a rule that says when reset is tru change attribute to default value, repeat for each attribute that you want. Then on the actor that actually changes scenes I turn the reset attribute I created to true, wait .1 seconds and then putit to false and changes scenes
  • JoeMeisterJoeMeister Member Posts: 602
    Good one. Thanks.
Sign In or Register to comment.