removeClothing: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Removed "object manipulation" category listing.)
m (Text replacement - "[[Image:" to "[[File:")
 
(20 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Important|Result of April Fool's Day 2008. Don't even try ingame ;)}}
{{RV|type=command
{{Command|= Comments
____________________________________________________________________________________________


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


|1.11|= Game version
|gr1= Unit Inventory
____________________________________________________________________________________________


| Removes specified named clothes selections from unit. |= Description
|gr2= Broken Commands
____________________________________________________________________________________________


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


|p1= unit: [[Object]] - Unit |= Parameter 1
|s1= unit [[removeClothing]] item
|p2= item: [[Array]] - Arrays of named selections ([[String]]s) |= Parameter 2


| [[Nothing]] |= Return value
|p1= unit: [[Object]] - unit
____________________________________________________________________________________________
 
|x1= <pre>civ1 removeClothing ["shirt"]</pre>
[[Image:rc_sample.jpg|200px]] |= Example 1
____________________________________________________________________________________________


| [[Model Config]] |= See also
|p2= item: [[Array]] - arrays of named selections ([[String]]s)


|r1= [[Nothing]]


|x1= <sqf>_unit removeClothing ["shirt"];</sqf>
[[File:rc_sample.jpg|200px]]
|seealso= [[Model Config]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<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