removeAllAssignedItems: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Command|= Comments ____________________________________________________________________________________________ | arma3 |= Game name |0.50|= Game version ____________________...") |
m (template:command argument fix) |
||
(8 intermediate revisions by 4 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= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} | ||
Line 37: | Line 40: | ||
<h3 style='display:none'>Bottom Section</h3> | <h3 style='display:none'>Bottom Section</h3> | ||
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]] | [[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] |
Revision as of 14: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