• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] Walking and moving instantly

Status
Not open for further replies.
Level 12
Joined
Mar 26, 2005
Messages
790
Ok, you asked if you can, I answered you can.

Now you ask how? I answer "call SetUnitAnimationByIndex(udg_tempUnit, 2)"

Of course, you must first store unit in variable like tempUnit which is used in this example.
Secondly, you must know which number is for walk animation, usually first animation in the left panel of WE has number 0, second is 1 etc etc.


And I strongly recommend to make this custom script sticky somewhere in trigger section. It is usefull
 
Status
Not open for further replies.
Top