• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

Find out Animation index

Status
Not open for further replies.
Level 4
Joined
Jun 13, 2010
Messages
114
I added the arrow key movement system to my map from the witcher.

Now to activate the cam and arrow key movement you need to make a trigger like this. Also to prevent that the character just slides without animation while walking.

Is there a faster way to find out the Animation index of units for walk than trying out every number?

hmjod349.png
 
Level 13
Joined
Mar 24, 2013
Messages
1,105
Player skips a cinematic.

Actions:

Set tempunit = unit That you want the animations to check
Call SetUnitAnimationByIndex( udg_tempunit, udg_tempinteger)
Set tempinteger = tempinteger + 1
Debug message tempinteger

If tempinteger > 30 then set tempinteger = 0
 
Status
Not open for further replies.
Top