removePrimaryWeaponItem

From Bohemia Interactive Community
Revision as of 15:13, 27 September 2020 by R3vo (talk | contribs) (Text replacement - "{{uc:{{PAGENAME}}}}" to "")
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Removes given weapon item, including magazine, from the primaryWeapon.
Groups:
WeaponsUnit Inventory

Syntax

Syntax:
unit removePrimaryWeaponItem item
Parameters:
unit: Object
item: String
Return Value:
Nothing

Examples

Example 1:
player removePrimaryWeaponItem "acc_flashlight";

Additional Information

See also:
addPrimaryWeaponItemremoveAllPrimaryWeaponItemsremoveSecondaryWeaponItemremoveHandgunItemremoveBinocularItem

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