removeAllAssignedItems: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
(7 intermediate revisions by 3 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=
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''removeAllAssignedItems''' unit |= Syntax
| '''removeAllAssignedItems''' unit |SYNTAX=


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


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




|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 15:45, 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