Arma 3 Scripting

canDeployWeapon

  • Local argument
  • Arma 3 v2.06

Command · Markdown · JSON · original wiki page

Description

Returns true if a unit's weapon can be deployed.

Syntax

canDeployWeapon unit

Parameters:

Returns: Boolean - true if unit's weapon can be deployed

Examples

Example 1

if (canDeployWeapon player) then { hint "I could rest my weapon here..." };

See also

isWeaponDeployed · isWeaponRested