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 TypeDescription
voidThis function doesn't return anything

Parameters

ParameterTypeDescription
1integerThe new pose index. 0=idle, 1=crouch, 2=prone.

Examples

Example 57

soldier.setPose(2);

Back to Scripting API