removeAllAssignedItems: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " {{uc:{{PAGENAME}}}}" to "") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
| arma3 | |game1= arma3 | ||
|version1= 0.50 | |||
|0.50 | |||
|arg= local | |arg= local | ||
Line 11: | Line 10: | ||
|gr1= Unit Inventory | |gr1= Unit Inventory | ||
| Unassigns and deletes all linked items from inventory. The commands operates on [[assignedItems]] array, which | |descr= Unassigns and deletes all linked items from inventory. | ||
The commands operates on [[assignedItems]] array, which does not include goggles or headgear.<br> | |||
Use [[removeGoggles]] and [[removeHeadgear]] for those. | |||
| | |s1= [[removeAllAssignedItems]] unit | ||
|p1= unit: [[Object]] | |p1= unit: [[Object]] | ||
| [[Nothing]] | |r1= [[Nothing]] | ||
|x1= <code>[[removeAllAssignedItems]] [[player]];</code> | |x1= <code>[[removeAllAssignedItems]] [[player]];</code> | ||
Line 23: | Line 24: | ||
|seealso= [[assignedItems]], [[linkItem]], [[unlinkItem]], [[assignItem]], [[unassignItem]], [[addItem]], [[removeItem]], [[removeAllContainers]] | |seealso= [[assignedItems]], [[linkItem]], [[unlinkItem]], [[assignItem]], [[unassignItem]], [[addItem]], [[removeItem]], [[removeAllContainers]] | ||
}} | }} | ||
Revision as of 15:03, 9 June 2021
Description
- Description:
- Unassigns and deletes all linked items from inventory.
The commands operates on assignedItems array, which does not include goggles or headgear.
Use removeGoggles and removeHeadgear for those. - Groups:
- Unit Inventory
Syntax
- Syntax:
- removeAllAssignedItems unit
- Parameters:
- unit: Object
- Return Value:
- Nothing
Examples
- Example 1:
removeAllAssignedItems player;
Additional Information
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