canDeployWeapon: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " |game1= arma3 |version1= 2.06 |branch = dev" to " |game1= arma3 |version1= 2.06") |
Lou Montana (talk | contribs) |
||
Line 16: | Line 16: | ||
Execute on server: <code>[[private]] _canDeploy = [[canDeployWeapon]] [[player]];</code> | Execute on server: <code>[[private]] _canDeploy = [[canDeployWeapon]] [[player]];</code> | ||
|seealso= | |seealso= [[isWeaponDeployed]] [[isWeaponRested]] | ||
}} | }} |
Revision as of 13:23, 20 January 2022
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:
- 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