Soldier.setPose 2
Sets the soldier's pose based on the given integer.
Return value
Return Type | Description |
---|---|
void | This function doesn't return anything |
Parameters
Parameter | Type | Description |
---|---|---|
1 | integer | The new pose index. 0=idle, 1=crouch, 2=prone. |
Examples
soldier.setPose(2);