removePrimaryWeaponItem

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 3 version 0.70
  Arguments 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

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
0.70

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.

Syntax

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

Examples

Example 1:
player removePrimaryWeaponItem "acc_flashlight";

Additional Information

Multiplayer:
-
See also:
addPrimaryWeaponItemremoveAllPrimaryWeaponItemsremoveSecondaryWeaponItemremoveHandgunItem

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section