Animation Problem

yunusowic

New Member
Reaction score
7
I made a Sliding spell and the sliding units "walk" animation is played while sliding.


call SetUnitAnimationByIndex( udg_Ates[GetForLoopIndexA()], 0)

When the sliding unit comes in a certain range with the targeted unit i want it to play another animation. But whatever i do it keeps playing the walk animation. I can't reset its animation and make it play another one. Can someone help?
 

saw792

Is known to say things. That is all.
Reaction score
280
It's probably because the walk animation is being called in the timer callback function, and thus is constantly being ordered. As Viikuna says, post your code please (and use JASS tags).
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top