stance: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (format) |
m (template:command argument fix) |
||
Line 19: | Line 19: | ||
| '''stance''' unit |= Syntax | | '''stance''' unit |= Syntax | ||
|p1= unit: [[Object]] |= | |p1= unit: [[Object]] |PARAMETER1= | ||
| [[String]] |= | | [[String]] |RETURNVALUE= | ||
|x1= <code>[[if]] ([[stance]] [[player]] == "STAND") [[then]] {[[hint]] "I am standing!"};</code>|= | |x1= <code>[[if]] ([[stance]] [[player]] == "STAND") [[then]] {[[hint]] "I am standing!"};</code>|EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[animationState]], [[unitPos]] |= | | [[animationState]], [[unitPos]] |SEEALSO= | ||
| |= | | |MPBEHAVIOUR= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} |
Revision as of 10:37, 7 April 2019
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
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