removeItem: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " {{GameCategory|arma3|New Scripting Commands}} {{GameCategory|arma3|Scripting Commands}} {{uc:{{PAGENAME}}}} " to "")
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
Line 27: Line 27:
independentUnit [[removeItem]] "NVGoggles_INDEP";</code>
independentUnit [[removeItem]] "NVGoggles_INDEP";</code>


| [[removeItems]], [[unassignItem]], [[addItem]], [[assignItem]], [[assignedItems]], [[linkItem]], [[unlinkItem]], [[removeAllAssignedItems]]
|seealso= [[removeItems]], [[unassignItem]], [[addItem]], [[assignItem]], [[assignedItems]], [[linkItem]], [[unlinkItem]], [[removeAllAssignedItems]]
}}
}}


<!-- CONTINUE Notes -->
<!-- CONTINUE Notes -->
<!-- DISCONTINUE Notes -->
<!-- DISCONTINUE Notes -->

Revision as of 01:01, 17 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Unit Inventory

Syntax

Syntax:
Syntax needed
Parameters:
unit: Object
item: String
Return Value:
Return value needed

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

See also:
removeItemsunassignItemaddItemassignItemassignedItemslinkItemunlinkItemremoveAllAssignedItems

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