removeAllAssignedItems: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
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 | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | 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 |= | | '''removeAllAssignedItems''' unit |SYNTAX= | ||
|p1= unit: [[Object]] |= | |p1= unit: [[Object]] |PARAMETER1= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
|x1= <code> | |x1= <code>[[removeAllAssignedItems]] [[player]];</code>|EXAMPLE1= | ||
</code>|= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[assignedItems]], [[linkItem]], [[unlinkItem]], [[assignItem]], [[unassignItem]], [[addItem]], [[removeItem]], [[removeAllContainers]] |SEEALSO= | ||
| |= | | |MPBEHAVIOUR= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} |
Revision as of 15:45, 7 April 2019
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
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