reset attribute in another scene

michelericciomichelericcio Member Posts: 45
edited November -1 in Working with GS (Mac)
Hello,

i have a little problem. I have a variable for the time and i would like to reset the time when i change the scene. How can i do this?

Thank you!!!

p.s i already tried to reset the variable = 0, with change attribute, but it didnt work fine

Comments

  • michelericciomichelericcio Member Posts: 45
    sorry but i didn't understand it very well...

    My problem is that i would like that my game works in this way.

    Scene1: the time is set to 0 and it starts counting seconds...
    Scene2: the time starts from 0 again.

    Sorry for my english; i tried to explain before that what i would like to do is to reset the time variable.
  • BeyondtheTechBeyondtheTech Member Posts: 809
    Tshirtbooth is correct. When you are just about to change the scene, add an Action to Change Attribute of the timer to 0.
  • michelericciomichelericcio Member Posts: 45
    Thanks guys! I did it! :)
    This forum works really great!!!
Sign In or Register to comment.