Is there a known issue with the timer set to every?
I have an actor and I want it to animate every 6 seconds. the animation only last 2 seconds so I want like 4 seconds of the normal image between the animation.
I also try checking the Run to completion but nothing.
What I am doing is this:
Timer
Every 6 seconds
Animate
I checked the Restore actor image box.
AM I doing something wrong or is there a bug in the timer?
I also try checking the Run to completion but nothing.
What I am doing is this:
Timer
Every 6 seconds
Animate
I checked the Restore actor image box.
AM I doing something wrong or is there a bug in the timer?
Comments
Maybe they can be coordinated with a boolean, just thought. A timer set to every and a boolean (when true set to false, when false set to true), when the boolean is true, animation + sound plays. Should work quite nicely.
rule = when animation1 is on
animate
timer after 2 seconds
disable animation1 and enable animation2
rule = when animation2 is On
animate
timer after 4 seconds
disable animation2 and enable animation1
? - ofcourse needs to start with animation1 enabled
Working with your ideas, this is what I came up:
I create a timer wich changes every 6 seconds a boolean att called reanimate to true.
I checked Run to Completion
In the actor I put a rule:
When att game.reanimate is true.
Animate
Play Sound
Timer: after 2 Run to completion
Change att game.reanimate to false.
It works amazing.
Thanks again guys.