HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Quick animation question

01-09-2010, 04:49 PM#1
Mendel
Why when i play a unit's walk (or Walk) animation nothing happends?
i am trying it on the night elf archer. works with attack.
01-09-2010, 10:22 PM#2
blanc_dummy
use SetUnitAnimationByIndex, and animation index for archer's walk is 7 i think.

Collapse JASS:
 call SetUnitAnimationByIndex(your_unit,7)
01-10-2010, 12:27 AM#3
Anitarf
For some weird reason, the walk animation (and only that one as far as I know) can not be played on units. However, as blanc_dummy said, the SetUnitAnimationByIndex function can be used to bypass this limitation.
01-10-2010, 04:40 AM#4
Mendel
Thx it works :]