How to stop addition of an attribute?

famekraftsfamekrafts Member, BASIC Posts: 834
edited October 2012 in Working with GS (Mac)
I am making a custom number timer.

Every second its adding one to the attribute time.

Now after the scene is complete I want it to stop adding and pause.

So that I can display it in the score menu.

How do I do that?

I do not want to use system time and GS clock, want to make it simple.

Comments

  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273
    You could create a boolean attribute called "Completed Level" - and set it to false.

    Now, wrap your timer in a rule that says:
    When attribute game.Completed Level is false,
    Every 1 second, change attribute etc.

    Then, you'll need to create a rule to change the Completed Level to true when you actually complete the round. This should get the solution your looking for.

    Hope this helps.
  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273
    I have a template if you'd like to see it. Email me. (Email is in signature)
  • famekraftsfamekrafts Member, BASIC Posts: 834
    Thank you Man, I already have the attribute.

    Goodness me. Sometimes I am so much distracted with the complex things, I seem to forget how to do simple things.


  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273
    No worries, man. Glad I could be of some help!
Sign In or Register to comment.