unassignItem

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 3 version 0.50
  Arguments of this scripting command don't 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.50

Description

Description:
Unassigns existing item and tries to put it into inventory. If there is no space in inventory the item simply disappears.

Syntax

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

Examples

Example 1:
bluforUnit unassignItem "NVGoggles"; bluforUnit removeItem "NVGoggles"; opforUnit unassignItem "NVGoggles_OPFOR"; opforUnit removeItem "NVGoggles_OPFOR"; independentUnit unassignItem "NVGoggles_INDEP"; independentUnit removeItem "NVGoggles_INDEP";

Additional Information

Multiplayer:
-
See also:
assignItemaddItemremoveItemlinkItemunlinkItemassignedItemsremoveAllAssignedItems

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