weaponLowered: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<tt>([a-zA-Z0-9\. _"']+)<\/tt>" to "{{hl|$1}}") |
Lou Montana (talk | contribs) |
||
Line 18: | Line 18: | ||
|x1= <code>isWeaponLowered = [[weaponLowered]] [[player]];</code> | |x1= <code>isWeaponLowered = [[weaponLowered]] [[player]];</code> | ||
|seealso= [[stance]] | |seealso= [[stance]] [[unitPos]] [[animationState]] | ||
}} | }} | ||
<dl class="command_description"> | <dl class="command_description"> |
Revision as of 20:48, 20 January 2022
Description
- Description:
- Returns true if given soldier's weapon is lowered.
- Groups:
- Object ManipulationWeapons
Syntax
- Syntax:
- weaponLowered unit
- Parameters:
- unit: Object
- Return Value:
- Boolean
Examples
- Example 1:
isWeaponLowered = weaponLowered player;
Additional Information
- See also:
- stance unitPos animationState
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
- Posted on November 11, 2016 - 01:13 (UTC)
- Pierre MGI
- This command seems to work for player only, not for AI.