removeAllAssignedItems: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(links to alternative commands)
m (template:command argument fix)
Line 16: Line 16:
| '''removeAllAssignedItems''' unit |= Syntax
| '''removeAllAssignedItems''' unit |= Syntax


|p1= unit: [[Object]]  |= PARAMETER1
|p1= unit: [[Object]]  |PARAMETER1=  


| [[Nothing]] |= RETURNVALUE
| [[Nothing]] |RETURNVALUE=  




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


____________________________________________________________________________________________
____________________________________________________________________________________________


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


|  |= MPBEHAVIOUR
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
____________________________________________________________________________________________
}}
}}

Revision as of 10:36, 7 April 2019

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