removeAllAssignedItems: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(links to alternative commands)
(5 intermediate revisions by 2 users not shown)
Line 5: Line 5:


|0.50|= Game version
|0.50|= Game version
|arg= local |= Arguments in MP
|eff= global |= Effects in MP
____________________________________________________________________________________________
____________________________________________________________________________________________


| Removes all linked items from gear (map, compass, headgear, goggles etc.). |= Description
| Unassigns and deletes all linked items from inventory. The commands operates on [[assignedItems]] array, which doesnt include goggles or headgear. Use [[removeGoggles]] and [[removeHeadgear]] for those.|= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 17: Line 21:




|x1= <code>
|x1= <code>[[removeAllAssignedItems]] [[player]];</code>|= EXAMPLE1  
</code>|= EXAMPLE1  


____________________________________________________________________________________________
____________________________________________________________________________________________


| |= SEEALSO  
| [[assignedItems]], [[linkItem]], [[unlinkItem]], [[assignItem]], [[unassignItem]], [[addItem]], [[removeItem]], [[removeAllContainers]] |= SEEALSO  


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  

Revision as of 13:11, 8 January 2015

Hover & click on the images for description

Description

Description:
Unassigns and deletes all linked items from inventory. The commands operates on assignedItems array, which doesnt include goggles or headgear. Use removeGoggles and removeHeadgear for those.
Groups:
Uncategorised

Syntax

Syntax:
removeAllAssignedItems unit
Parameters:
unit: Object
Return Value:
Nothing

Examples

Example 1:
removeAllAssignedItems player;

Additional Information

See also:
assignedItemslinkItemunlinkItemassignItemunassignItemaddItemremoveItemremoveAllContainers

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

Notes

Bottom Section