isSwitchingWeapon

From Bohemia Interactive Community
Revision as of 23:57, 2 November 2024 by Killzone Kid (talk | contribs)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Returns wether or not the unit is in the process of switching weapon.
Groups:
Unit Inventory

Syntax

Syntax:
isSwitchingWeapon unit
Parameters:
unit: Object
Return Value:
Boolean - true if the unit is switching weapon.

Examples

Example 1:
isSwitchingWeapon player;

Additional Information

See also:
primaryWeaponMagazine primaryWeaponItems addPrimaryWeaponItem removePrimaryWeaponItem removeAllPrimaryWeaponItems secondaryWeapon handgunWeapon currentWeapon weapons primaryWeapon

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