Arma 3 Scripting

Command in Object Manipulation, Weapons

weaponLowered

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

Description

Returns true if given soldier's weapon is lowered.

Important

This command will always return false if player is sprinting, even without a weapon. Alternatively, the weapon raised state could be obtained via animationState command ...slow... vs ...sras...

Syntax

weaponLowered unit

Parameters:

Returns: Boolean

Examples

Example 1

isWeaponLowered = weaponLowered player;

See also

stance · unitPos · animationState