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