• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] Reversing Animations?

Status
Not open for further replies.
Level 5
Joined
Jun 5, 2007
Messages
99
Hey everyone, I'm back once again! Been working on a project for several months now, and I have begun spending almost all of my time in the trigger editor. Anyway, I have a lot of times where gates close throughout my maps, but there is no "revive" animation for the gates. I tried searching through the forums and browsing the trigger editor, but I found no way to play an animation in reverse.

If anyone could explain to me how I would play a destructible's animation backwards, I would be very grateful. :grin:
 
Level 22
Joined
Dec 31, 2006
Messages
2,216
call SetDestructableAnimationSpeed(WHICH_DESTRUCTIBLE, -1) This will reverse all animations. To reset it just call the function again, but replace "-1" with "1".
 
Status
Not open for further replies.
Top