removeClothing: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
|arma1 | |arma1 | ||
|1.11 | |1.11 | ||
|gr1= Unit Inventory | |gr1= Unit Inventory | ||
|gr2= Broken Commands | |gr2= Broken Commands | ||
| Removes specified named clothes selections from unit. {{Important | Result of April Fool's Day 2008. Don't even try ingame ;)}} | | Removes specified named clothes selections from unit. {{Important | Result of April Fool's Day 2008. Don't even try ingame ;)}} | ||
| unit [[removeClothing]] item | | unit [[removeClothing]] item | ||
|p1= unit: [[Object]] - Unit | |p1= unit: [[Object]] - Unit | ||
|p2= item: [[Array]] - Arrays of named selections ([[String]]s) | |p2= item: [[Array]] - Arrays of named selections ([[String]]s) | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1= <code>_unit [[removeClothing]] ["shirt"]</code> | |x1= <code>_unit [[removeClothing]] ["shirt"]</code> | ||
[[Image:rc_sample.jpg|200px]] | [[Image:rc_sample.jpg|200px]] | ||
| [[Model Config]] | | [[Model Config]] | ||
}} | }} | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> |
Revision as of 01:27, 18 January 2021
Description
- Description:
- Removes specified named clothes selections from unit.
- Groups:
- Unit InventoryBroken Commands
Syntax
- Syntax:
- unit removeClothing item
- Parameters:
- unit: Object - Unit
- item: Array - Arrays of named selections (Strings)
- Return Value:
- Nothing
Examples
- Example 1:
_unit removeClothing ["shirt"]
Additional Information
- See also:
- Model Config
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