removeItemFromUniform: Difference between revisions

From Bohemia Interactive Community
m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>")
m (Changed group)
 
(One intermediate revision by one other user not shown)
Line 7: Line 7:
|eff= global
|eff= global


|gr1= Unit Inventory
|gr1= Containers


|descr= Removes item from soldier's uniform. Can be used with magazines and weapons too.
|descr= Removes item from soldier's uniform. Can be used with magazines and weapons too.
Line 19: Line 19:
|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code>player removeItemFromUniform "FirstAidKit";</code>
|x1= <sqf>player removeItemFromUniform "FirstAidKit";</sqf>


|seealso= [[addItemToUniform]] [[removeItemFromVest]] [[removeItemFromBackpack]] [[removeItemFromPrimaryWeapon]]
|seealso= [[addItemToUniform]] [[removeItemFromVest]] [[removeItemFromBackpack]] [[removeItemFromPrimaryWeapon]]
}}
}}

Latest revision as of 07:13, 23 September 2025

Hover & click on the images for description

Description

Description:
Removes item from soldier's uniform. Can be used with magazines and weapons too.
Groups:
Containers

Syntax

Syntax:
unit removeItemFromUniform item
Parameters:
unit: Object
item: String
Return Value:
Nothing

Examples

Example 1:
player removeItemFromUniform "FirstAidKit";

Additional Information

See also:
addItemToUniform removeItemFromVest removeItemFromBackpack removeItemFromPrimaryWeapon

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