removeHandgunItem: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (template:command argument fix)
Line 23: Line 23:




|p1= unit: [[Object]]  |= PARAMETER1
|p1= unit: [[Object]]  |PARAMETER1=  


|p2= item: [[String]] - Config class |= PARAMETER2
|p2= item: [[String]] - Config class |PARAMETER2=  


| [[Nothing]] |= RETURNVALUE
| [[Nothing]] |RETURNVALUE=  




|x1= <code>[[player]] [[removeHandgunItem]] "muzzle_snds_L";</code>|= EXAMPLE1
|x1= <code>[[player]] [[removeHandgunItem]] "muzzle_snds_L";</code>|EXAMPLE1=  


____________________________________________________________________________
____________________________________________________________________________
Line 36: Line 36:
________________
________________


| [[addHandgunItem]], [[removeAllHandgunItems]], [[removePrimaryWeaponItem]], [[removeSecondaryWeaponItem]] |= SEEALSO
| [[addHandgunItem]], [[removeAllHandgunItems]], [[removePrimaryWeaponItem]], [[removeSecondaryWeaponItem]] |SEEALSO=  


|  |= MPBEHAVIOUR
|  |MPBEHAVIOUR=  
____________________________________________________________________________
____________________________________________________________________________



Revision as of 11:36, 7 April 2019

Hover & click on the images for description

Description

Description:
Removes given weapon item from the handgun weapon cargo space.
As of Arma 3 DEV 1.37, this command also supports weapon magazines.
Groups:
Uncategorised

Syntax

Syntax:
unit removeHandgunItem item
Parameters:
unit: Object
item: String - Config class
Return Value:
Nothing

Examples

Example 1:
player removeHandgunItem "muzzle_snds_L";

Additional Information

See also:
addHandgunItemremoveAllHandgunItemsremovePrimaryWeaponItemremoveSecondaryWeaponItem

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