change time on timer

developer6810developer6810 Member Posts: 139
edited July 2012 in Working with GS (Mac)
I want to put a timer in and also have objects that if it collides with an actor, change the time to +10 seconds on one object or -10 seconds on another. Would I have to create an attribute for the time or how else would I do it?

Best Answer

Answers

  • developer6810developer6810 Member Posts: 139
    Wait, if you wanted the starting time to be 60, would you set the attribute at 60?
  • developer6810developer6810 Member Posts: 139
    Yeah, create a integer attribute and then have the time on the timer set to that attribute.
    Whenever you need to add some time, just add to that attribute.

    Wait, if you wanted the starting time to be 60, would you set the attribute at 60?
  • developer6810developer6810 Member Posts: 139
    How would you make the attribute continuously count down?
  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273
    Have you watched the gamesalad training videos?
    www.gshelper.com has many tutorials.

    Yes, set that to 60.
    Then, you would create a rule in an actor:

    Every 1 second,
    change attribute game.Time to game.Time-1
Sign In or Register to comment.