stance: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\{\{GameCategory\|(arma[0123])\|[ _]?New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 9: | Line 8: | ||
|gr1= Unit Control |GROUP1= | |gr1= Unit Control |GROUP1= | ||
| Returns the stance of the given unit. It can be one of: | | Returns the stance of the given unit. It can be one of: | ||
Line 17: | Line 15: | ||
* <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= | ||
Line 28: | Line 25: | ||
|x1= <code>[[if]] ([[stance]] [[player]] == "STAND") [[then]] {[[hint]] "I am standing!"};</code>|EXAMPLE1= | |x1= <code>[[if]] ([[stance]] [[player]] == "STAND") [[then]] {[[hint]] "I am standing!"};</code>|EXAMPLE1= | ||
| [[animationState]], [[unitPos]] |SEEALSO= | | [[animationState]], [[unitPos]] |SEEALSO= | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= | ||
}} | }} | ||
Revision as of 03:58, 17 January 2021
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:
- Unit Control
Syntax
Examples
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