removeClothing: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
m (Some wiki formatting)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


|arma1
|game1= arma1
 
|version1= 1.11
|1.11


|gr1= Unit Inventory
|gr1= Unit Inventory
Line 9: Line 8:
|gr2= Broken Commands
|gr2= Broken Commands


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


| unit [[removeClothing]] item
|s1= unit [[removeClothing]] item


|p1= unit: [[Object]] - Unit
|p1= unit: [[Object]] - Unit
Line 17: Line 16:
|p2= item: [[Array]] - Arrays of named selections ([[String]]s)
|p2= item: [[Array]] - Arrays of named selections ([[String]]s)


| [[Nothing]]
|r1= [[Nothing]]
   
   
|x1= <code>_unit [[removeClothing]] ["shirt"]</code>  
|x1= <code>_unit [[removeClothing]] ["shirt"]</code>  

Revision as of 12:38, 9 June 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