canDeployWeapon: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (Created page with "{{RV|type=command |game1= arma3 |version1= 2.06 |branch = dev |gr1= Weapons |arg= local |descr= Returns true if player's weapon can be deployed. |s1= [[canDeployWeapon]...") |
Lou Montana (talk | contribs) m (Text replacement - " \|([ps][0-9]+) *= " to " |$1= ") |
||
Line 10: | Line 10: | ||
|s1= [[canDeployWeapon]] unit | |s1= [[canDeployWeapon]] unit | ||
|p1= | |p1= unit : [[Object]] | ||
|r1= [[Boolean]] : [[true]] - if weapon can be deployed | |r1= [[Boolean]] : [[true]] - if weapon can be deployed |
Revision as of 23:30, 10 August 2021
Description
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