removePrimaryWeaponItem: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(support for magazines)
(druid's note deleted as quite old now)
Line 35: Line 35:
<h3 style='display:none'>Notes</h3>
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<dd class="notedate">Posted on June 18, 2013 - 15:27
<dt class="note">'''[[User:Druid|Druid]]'''<dd class="note">Name of this command was ''removeItemFromPrimaryWeapon'' until Arma 3 ver. 0.70.<br/>
<!-- Note Section END -->
</dl>
</dl>



Revision as of 20:33, 12 December 2014

Hover & click on the images for description

Description

Description:
Removes given weapon item from the primary weapon cargo space.
As of Arma 3 DEV 1.37, this command also supports weapon magazines.
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:
addPrimaryWeaponItemremoveAllPrimaryWeaponItemsremoveSecondaryWeaponItemremoveHandgunItem

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