removeSecondaryWeaponItem

From Bohemia Interactive Community
Revision as of 20:32, 12 December 2014 by killzone_kid (talk | contribs) (supports magazines)
Jump to navigation Jump to search
-wrong parameter ("arma3dev") defined!-[[:Category:Introduced with arma3dev version 1.37|1.37]]
Hover & click on the images for description

Description

Description:
Removes given weapon item from the secondary weapon cargo space. This command also supports weapon magazines.
Groups:
Uncategorised

Syntax

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

Examples

Example 1:
player removeSecondaryWeaponItem (secondaryWeaponItems select 0);

Additional Information

See also:
addSecondaryWeaponItemremovePrimaryWeaponItemremoveHandgunItem

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

[[Category:Introduced with arma3dev version 1.37]][[ Category: arma3dev: New Scripting Commands | REMOVESECONDARYWEAPONITEM]][[ Category: arma3dev: Scripting Commands | REMOVESECONDARYWEAPONITEM]]

Notes

Bottom Section