removeClothing: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " (\|[pr][0-9]+ *= *[^-]+) *- *A([a-z])" to " $1 - a$2")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *U([a-z ])" to "$1 - u$2")
Line 12: Line 12:
|s1= unit [[removeClothing]] item
|s1= 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)

Revision as of 15:52, 8 November 2023

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