How do I pause animation for 5 seconds?

Game Editor comments and discussion.

How do I pause animation for 5 seconds?

Postby laddsa » Sat Nov 18, 2006 6:09 pm

Hi,

I have an actor that has a 5-frame animation associated with it. What I want is, when the actor is clicked on, then the animation plays, and when it gets to the 5th frame, then there is a 5 second delay before the next part of the script code is executed.

Thanks,

Laddsa
laddsa
 
Posts: 22
Joined: Sun Jul 24, 2005 10:18 am
Score: 0 Give a positive score

Postby Diana Kennedy » Sat Nov 18, 2006 9:20 pm

Choose Action -> Animation finish -> create Timer -> make a timer perdiodical of whatever lenght you want. Then choose timer - > your created timer --> add action -> whatever you wahted to do.

Don't forget also to make Animation finish -> change animaton direction -> stopped. (on your 5-frame ani.)

Hope this helps
User avatar
Diana Kennedy
 
Posts: 257
Joined: Wed Dec 07, 2005 12:34 am
Location: France, where Presidents who got shot in Texas do exile ;-)
Score: 0 Give a positive score

Postby laddsa » Sun Nov 19, 2006 9:28 am

Thanks very much Diana! That worked perfectly!

Cheers,

Laddsa
laddsa
 
Posts: 22
Joined: Sun Jul 24, 2005 10:18 am
Score: 0 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest