pose: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 11: Line 11:
|descr= Returns the pose of the given unit. It can be one of:
|descr= Returns the pose of the given unit. It can be one of:


* "Dead"
* {{hl|"Dead"}}
* "Weapon" (special weapon - AT)
* {{hl|"Weapon"}} (special weapon - AT)
* "BinocLying"
* {{hl|"BinocLying"}}
* "LyingNoWeapon"
* {{hl|"LyingNoWeapon"}}
* "Lying"
* {{hl|"Lying"}}
* "HandGunLying"
* {{hl|"HandGunLying"}}
* "Crouch"
* {{hl|"Crouch"}}
* "HandGunCrouch"
* {{hl|"HandGunCrouch"}}
* "Combat"
* {{hl|"Combat"}}
* "HandGunStand"
* {{hl|"HandGunStand"}}
* "Stand"
* {{hl|"Stand"}}
* "Swimming"
* {{hl|"Swimming"}}
* "BottomSwimming"
* {{hl|"BottomSwimming"}}
* "SurfaceSwimming"
* {{hl|"SurfaceSwimming"}}
* "Diving"
* {{hl|"Diving"}}
* "BottomDiving"
* {{hl|"BottomDiving"}}
* "SurfaceDiving"
* {{hl|"SurfaceDiving"}}
* "NoWeapon" (civilian moves)
* {{hl|"NoWeapon"}} (civilian moves)
* "Binoc" (binocular pose)
* {{hl|"Binoc"}} (binocular pose)
* "BinocStand" (binocular pose (weapon on back))
* {{hl|"BinocStand"}} (binocular pose (weapon on back))
* "Healing"
* {{hl|"Healing"}}
* "Dragged"
* {{hl|"Dragged"}}
* "Carrying"
* {{hl|"Carrying"}}
* "Freefall"
* {{hl|"Freefall"}}


|s1= [[pose]] unit
|s1= [[pose]] unit

Revision as of 20:14, 25 November 2021

Hover & click on the images for description
Only available in Development branch(es) until its release with Arma 3 patch v2.08.

Description

Description:
Returns the pose of the given unit. It 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"
Groups:
Unit Control

Syntax

Syntax:
pose unit
Parameters:
unit: Object
Return Value:
String - see description

Examples

Example 1:
if (pose player == "SurfaceSwimming") then {hint "How's water?"};

Additional Information

See also:
animationStateunitPosstance

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note