canDeployWeapon: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \|([ps][0-9]+) *= " to " |$1= ")
m (Text replacement - " |game1= arma3 |version1= 2.06 |branch = dev" to " |game1= arma3 |version1= 2.06")
Line 3: Line 3:
|game1= arma3
|game1= arma3
|version1= 2.06
|version1= 2.06
|branch = dev
|gr1= Weapons
|gr1= Weapons
|arg= local
|arg= local

Revision as of 19:26, 5 October 2021

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:
isWeaponDeployedisWeaponRested

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