• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[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