• 🏆 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!

Speed up Dissipate Animations

Status
Not open for further replies.
Level 21
Joined
May 29, 2013
Messages
1,567
I have few hero models that have dissipate animations that last 10 seconds, but average dissipate lasts 2 seconds, so how can i speed up their dissipate animations with triggers and make it work for multiple players in GUI?
 
Level 37
Joined
Mar 6, 2006
Messages
9,240
Event - Unit dies
Condition - Hashtable real value exists
Actions - Start timer with (load time from hashtable) expiration time

When the timer expires, set the animation speed of the unit to increased speed. The timer's duration should be the duration of the death animation.

Save the durations for each unit type you need at map initialization. You can reset the animation speed when the unit is revived or when the dissipation is over.
 
Status
Not open for further replies.
Top