Soldier.setPose 2

Sets the soldier's pose based on the given integer.


Return value

Return TypeDescription
voidThis function doesn't return anything

Parameters

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

Examples

soldier.setPose(2);

Back to Scripting API