Arma 3 Scripting

weaponLowered

  • Arma 3 v0.50

Command · also in Weapons · Markdown · JSON · 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

Community notes

Pierre MGI

This command seems to work for player only, not for AI.