canDeployWeapon

From Bohemia Interactive Community
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