SetWalkAnim
Selects the unit's walking animation from the supplied index. This call does not issue a movement order.
The integer overload stores the supplied index minus one in a 16-bit selector. In verified captures, SetWalkAnim(13) selected internal index 12. The no-argument overload is distinct. Safe indices for each template and subsequent behavior with out-of-range indices or invalid references are not established.
Signature
Parameters and return
| Position | Type |
|---|---|
| 1 | int |
Other overloads
| Member | Signature and description |
|---|---|
Unit::SetWalkAnimUnit | void Unit::SetWalkAnim()Unit[field] is the current zero-based animation index; the no-argument SetWalkAnim selects index zero and the int overload stores argument minus one. |