What's wrong with my 'Timer'?

I want an actor to run a series of animation every 5 second in the scene.

So I set a Timer behavior, and dragged a Animate behavior into it. I leave the 'Run to completion' and the 'Loop' unchecked.

But I got this:

If I set 'Every', I found my animation not work.
If I set 'After' or 'For', it worked.

Why? I set something wrong? Help˜

Comments

  • -Timo--Timo- Member Posts: 2,313
    why do you want to have a animation in a timer and then use every?
    do you want it to animate and then stop with animate and after a few seconds animate again?

    then this should work:
    make an self.boolean (lets say we call it animation)
    if self.animation is true do animation and do change attribute self.animation to false.

    if self.animation is false do after *number* seconds change self.animation to true
  • natzuurnatzuur Member Posts: 304
    You would need two timers if you want to set it up that way:

    Every 5:
    For (length of animation desired):
    Animate
  • CroissantCroissant Member Posts: 21
    Thank you two˜I'll try it˜
Sign In or Register to comment.