Description
Returns the pose of the given unit.
Syntax
pose unit
Parameters:
unit: Object
Returns: String - can be one of:
"Dead""Weapon"(special weapon - AT)"BinocLying""LyingNoWeapon""Lying""HandGunLying""Crouch""HandGunCrouch""Combat""HandGunStand""Stand""Swimming""BottomSwimming""SurfaceSwimming""Diving""BottomDiving""SurfaceDiving""NoWeapon"(civilian moves)"Binoc"(binocular pose)"BinocStand"(binocular pose (weapon on back))"Healing""Dragged""Carrying""Freefall"
Examples
Example 1
if (pose player == "SurfaceSwimming") then { hint "How's water?" };