Stop during animation

Started by Moox, Sun 11/07/2004 04:23:19

Previous topic - Next topic

Moox

Well, heres the question. It is probably really easy to solve, I'm probably just overlooking a command.
How would you script it so The game wont do anything else untill an animation is over?

TerranRich

Good question. Add this script right after the animation command:

Code: ags
while IsObjectAnimating(123) { Wait(1) };


While the object #123 is animating, wait a game cycle. Or, look up AnimateObjectEx() in the manual. :)
Status: Trying to come up with some ideas...

Moox


SMF spam blocked by CleanTalk