stance: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (template:command argument fix)
Line 14: Line 14:
* <tt>"PRONE"</tt>
* <tt>"PRONE"</tt>
* <tt>"UNDEFINED"</tt> (for example, swimming)
* <tt>"UNDEFINED"</tt> (for example, swimming)
* <tt>""</tt> (on non-person [[Object|object]]) |= Description
* <tt>""</tt> (on non-person [[Object|object]]) |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''stance''' unit |= Syntax
| '''stance''' unit |SYNTAX=


|p1= unit: [[Object]]  |PARAMETER1=  
|p1= unit: [[Object]]  |PARAMETER1=  

Revision as of 14:49, 7 April 2019

Hover & click on the images for description

Description

Description:
Returns the stance of the given unit. It can be one of:
  • "STAND"
  • "CROUCH"
  • "PRONE"
  • "UNDEFINED" (for example, swimming)
  • "" (on non-person object)
Groups:
Uncategorised

Syntax

Syntax:
stance unit
Parameters:
unit: Object
Return Value:
String

Examples

Example 1:
if (stance player == "STAND") then {hint "I am standing!"};

Additional Information

See also:
animationStateunitPos

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

Notes

Bottom Section