removePrimaryWeaponItem: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(see also)
(Added example)
Line 22: Line 22:




|x1= <code>
|x1= <code>player removePrimaryWeaponItem "acc_flashlight";</code>|= EXAMPLE1  
</code>|= EXAMPLE1  


____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 13:47, 18 October 2014

Hover & click on the images for description

Description

Description:
Removes given item from the weapon cargo space.
Groups:
Uncategorised

Syntax

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

Examples

Example 1:
player removePrimaryWeaponItem "acc_flashlight";

Additional Information

See also:
addPrimaryWeaponItemremoveAllPrimaryWeaponItems

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

Posted on June 18, 2013 - 15:27
Druid
Name of this command was removeItemFromPrimaryWeapon until Arma 3 ver. 0.70.

Bottom Section