removeClothing: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " " to " ")
m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>")
Line 18: Line 18:
|r1= [[Nothing]]
|r1= [[Nothing]]


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


|seealso= [[Model Config]]
|seealso= [[Model Config]]
}}
}}

Revision as of 11:12, 12 May 2022

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