Really odd timer issue....

AfterBurnettAfterBurnett Member Posts: 3,474
edited November -1 in Working with GS (Mac)
Okay, so I have a behaviour with the following rule:

When life = 0, change scene to GAME OVER. That works fine. But when I add a timer:

When life = 0, in 4 secs (run to end)change scene to GAME OVER.

It doesn't work... any ideas why? I've placed the rules inside the timer etc... just not working for me...

Comments

  • scitunesscitunes Member, Sous Chef Posts: 4,047
    I'm guessing you have a destroy actor behavior in there and the actor is being destroyed before the timer finishes.

    just a guess
  • scitunesscitunes Member, Sous Chef Posts: 4,047
    you could have a second invisible actor and use a boolean to trigger a timer in it. So in the player when life = 0 change game.dead to 1

    in other actor
    when game.dead = 1
    timer 4 seconds
    change scene
  • AfterBurnettAfterBurnett Member Posts: 3,474
    Ah thanks! I didn't think of that! What an egg! lol. This is all so new to me...
  • AfterBurnettAfterBurnett Member Posts: 3,474
    Worked perfectly! Thanks so much!!!!!!!!
Sign In or Register to comment.