removeClothing: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "")
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|Comments=
{{Command


|arma1|Game name=
|arma1


|1.11|Game version=
|1.11


|gr1= Unit Inventory |GROUP1=
|gr1= Unit Inventory


|gr2= Broken Commands |GROUP2=
|gr2= Broken Commands


| Removes specified named clothes selections from unit. {{Important | Result of April Fool's Day 2008. Don't even try ingame ;)}} |DESCRIPTION=
| Removes specified named clothes selections from unit. {{Important | Result of April Fool's Day 2008. Don't even try ingame ;)}}


| unit [[removeClothing]] item |SYNTAX=
| unit [[removeClothing]] item


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


|p2= item: [[Array]] - Arrays of named selections ([[String]]s) |PARAMETER2=
|p2= item: [[Array]] - Arrays of named selections ([[String]]s)


| [[Nothing]] |RETURNVALUE=
| [[Nothing]]
   
   
|x1= <code>_unit [[removeClothing]] ["shirt"]</code>  
|x1= <code>_unit [[removeClothing]] ["shirt"]</code>  
[[Image:rc_sample.jpg|200px]] |EXAMPLE1=
[[Image:rc_sample.jpg|200px]]


| [[Model Config]] |SEEALSO=
| [[Model Config]]
}}
}}


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>

Revision as of 02:27, 18 January 2021

Hover & click on the images for description

Description

Description:
Removes specified named clothes selections from unit.
Result of April Fool's Day 2008. Don't even try ingame ;)
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"] rc sample.jpg

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

Bottom Section