Soldier.setPose 83
Sets the soldier's pose based on the given integer.
The soldier will strictly follow the assigned pose until resetPose is called
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
Example 57
soldier.setPose(2);