Arma 3 Scripting

Command in Weapons

isWeaponRested

Also available as Markdown and JSON, or read the original wiki page.

Description

Returns true if weapon is currently rested.

Syntax

isWeaponRested unit

Parameters:

Returns: Boolean

Examples

Example 1

_rest = isWeaponRested player;

See also

isWeaponDeployed · canDeployWeapon