canDeployWeapon

From Bohemia Interactive Community
Revision as of 20:08, 5 May 2022 by Lou Montana (talk | contribs) (Some wiki formatting)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Returns true if a unit's weapon can be deployed.
Groups:
Weapons

Syntax

Syntax:
canDeployWeapon unit
Parameters:
unit : Object
Return Value:
Boolean - true if unit's weapon can be deployed

Examples

Example 1:
if (canDeployWeapon player) then { hint "I could rest my weapon here..." };

Additional Information

See also:
isWeaponDeployed isWeaponRested

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