PrisonLove
Hard Realist
- Reaction score
- 78
Is there a cataloged list of the unit animation indices or do I just have to keep trying numbers until I get the animation I want? If there is a list, where can I find it?
function IndexTest takes nothing returns nothing
local integer i = 0
loop
exitwhen i > 15
call SetUnitAnimationByIndex(UnitVariable, i)
call BJDebugMsg(I2S(i))
call TriggerSleepAction(2.)
set i = i + 1
endloop
endfunction