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 - "[[Image:" to "[[File:")
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command


|arma1|Game name=
|game1= arma1
|version1= 1.11


|1.11|Game version=
|gr1= Unit Inventory


|gr1= Unit Inventory |GROUP1=
|gr2= Broken Commands


|gr2= Broken Commands |GROUP2=
|descr= Removes specified named clothes selections from unit. {{Feature | 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 ;)}} |DESCRIPTION=
|s1= unit [[removeClothing]] item


| unit [[removeClothing]] item |SYNTAX=
|p1= unit: [[Object]] - unit


|p1= unit: [[Object]] - Unit |PARAMETER1=
|p2= item: [[Array]] - arrays of named selections ([[String]]s)


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


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


| [[Model Config]] |SEEALSO=
|seealso= [[Model Config]]
}}
}}
<h3 style="display:none">Bottom Section</h3>

Latest revision as of 00:10, 21 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