removeAllPrimaryWeaponItems

From Bohemia Interactive Community
Revision as of 20:53, 5 January 2020 by Lou Montana (talk | contribs) (Add example)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Removes all items from weapon except magazine.
Groups:
Uncategorised

Syntax

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

Examples

Example 1:
removeAllPrimaryWeaponItems player;

Additional Information

See also:
addPrimaryWeaponItemremovePrimaryWeaponItem

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

Notes

Bottom Section