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

Stopping animation?

Status
Not open for further replies.
Level 3
Joined
Jul 2, 2009
Messages
51
Hey lol i've ran into another dead-end in my map
I have some sentry guns that, when there is no power,
they don't attack and they don't play their stand animation either
I tried to just use:


  • Events
    • Map initialization
  • Conditions
  • Actions
    • Animation - Play Sentry Gun (Long) 0001 <gen>'s stand animation
    • Animation - Play Sentry Gun (Short) 0005 <gen>'s stand animation
    • Animation - Play Sentry Gun (Short) 0004 <gen>'s stand animation
    • Animation - Play Sentry Gun (Short) 0006 <gen>'s stand animation
    • Animation - Play Sentry Gun (Short) 0007 <gen>'s stand animation
So i thought that this trigger would make their stand animation play once,
and then after that no animation would play unless they attack/animation
is reset.
However they seem to just act normally
 
Level 13
Joined
Mar 4, 2009
Messages
1,156
Animation - set unit animation speed to 0%

i think you cannot really stop animation if your unit moves or attacks

do you want to to freeze him?or make him always play stand animation

if yes you will need

unit is attacked/begins casting an ability
attacking/casting unit equal to (your unit)
-play attacking/casting unit stand animation

else you can play stand animation every 0.10 seconds
 
Status
Not open for further replies.
Top