removePrimaryWeaponItem: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{uc:{{PAGENAME}}}}" to "")
mNo edit summary
Line 7: Line 7:


|arg= local |MPARGUMENTS=
|arg= local |MPARGUMENTS=
|eff= global |MPeff=
|eff= global |MPeff=


|gr1= Weapons |GROUP1=
|gr1= Unit Inventory |GROUP1=
 
|gr2= Unit Inventory |GROUP2=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 15:26, 27 September 2020

Hover & click on the images for description

Description

Description:
Removes given weapon item, including magazine, from the primaryWeapon.
Groups:
Unit 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