removeAllSecondaryWeaponItems

From Bohemia Interactive Community
Revision as of 14:56, 23 February 2021 by Lou Montana (talk | contribs) (Text replacement - " | arma3dev |2.01 " to " | arma3 |2.02 ")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Hover & click on the images for descriptions

Description

Description:
Removes all items from secondaryWeapon, except magazine.

Syntax

Syntax:
removeAllSecondaryWeaponItems unit
Parameters:
unit: Object
Return Value:
Nothing

Examples

Example 1:
removeAllSecondaryWeaponItems player;

Additional Information

See also:
addSecondaryWeaponItemremoveSecondaryWeaponItemremoveAllPrimaryWeaponItemsremoveAllHandgunItemsremoveAllBinocularItems
Groups:
Unit Inventory

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