Page 1 of 1

Play animation when animated prop is destroyed [Solved]

Posted: Sun Sep 11, 2011 1:23 pm
by Locutus
Hi!
Atm I'm working on a little campaign.
In this mission I want the player to kill a ship taking off.
So I created an animation for this ship in ZE which is working. But when the ship is destroyed the animation continues with the wrecked ship.
Is there any way to play a new animation depending on where the ship is?
So that it looks as if the ship is crashing down back to the surface again.

Re: Play animation when animated prop is destroyed

Posted: Sun Sep 11, 2011 1:31 pm
by DarthD.U.C.K.
it seems like you cannot check where an animated object is/which frame it is currently at. but you can have a timer that starts when the animation starts. when the ship is destroyed you could theoretically check how long its been running and play an animation depeding on that.

Re: Play animation when animated prop is destroyed

Posted: Sun Sep 11, 2011 1:48 pm
by Maveritchell
The best way to do it dynamically may be to simply make a giant ship-sized explosion chunk. Then it would give the appearance of crashing back down and you wouldn't have to worry about timing it with a procedural animation.

Re: Play animation when animated prop is destroyed

Posted: Sun Sep 11, 2011 4:03 pm
by Locutus
Thanks Mav, you made my day! :D