canDeployWeapon

From Bohemia Interactive Community
Revision as of 13:23, 20 January 2022 by Lou Montana (talk | contribs) (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
Jump to navigation Jump to search
Hover & click on the images for description

Description

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

Syntax

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

Examples

Example 1:
Execute on server: private _canDeploy = canDeployWeapon player;

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