removeSecondaryWeaponItem

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 3 version 1.381.38Arguments of this scripting command have to be local to the client the command is executed onEffects of this scripting command are broadcasted over the network and happen on every computer in the network
Hover & click on the images for descriptions

Description

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

Syntax

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

Examples

Example 1:
player removeSecondaryWeaponItem (secondaryWeaponItems player select 0);

Additional Information

See also:
addSecondaryWeaponItemremovePrimaryWeaponItemremoveHandgunItem

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

Notes

Bottom Section