Page 1 of 1
Timing animations
Posted:
Wed Dec 11, 2013 4:41 am
by arcreamer
Hi. What I am trying to do is have an animation timed so that maybe ever 5 seconds it will run the animation then wait another 5 seconds instead of doing it constantly. I'm sure there's some type of script that can easily accomplish this
Re: Timing animations
Posted:
Wed Dec 11, 2013 4:51 pm
by skydereign
You can use CreateTimer to create a five second timer for the actor, and put that into the animation finish event (also it sounds like you might want to use ChangeAnimationDirection in this event to stop the animation from repeating). Then in the timer event do the proper ChangeAnimation.
Re: Timing animations
Posted:
Wed Dec 11, 2013 8:22 pm
by arcreamer
Alright so on the animation finish Im creating a timer with a 5000ms for 5 seconds, although Im not sure what the rest of the caddy is asking. Dont know if I should just fill in the 5000 in the time box and keep the rest default? Another question is how would it know to automatically start the animation back up after the 5 seconds are over?
Re: Timing animations
Posted:
Wed Dec 11, 2013 9:02 pm
by arcreamer
Nevermind, I figured it out. I have two timers, which delete/create each other with each changing the animation after a couple seconds.