• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[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