forceAddUniform: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\{\{GameCategory\|(arma[0123])\|New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 13: Line 12:


|gr2= Unit Inventory |GROUP2=
|gr2= Unit Inventory |GROUP2=
____________________________________________________________________________________________


| Create a new uniform and hard link it into slot (without any restrictions).  |DESCRIPTION=
| Create a new uniform and hard link it into slot (without any restrictions).  |DESCRIPTION=
____________________________________________________________________________________________


| unit [[forceAddUniform]] type |SYNTAX=
| unit [[forceAddUniform]] type |SYNTAX=
Line 29: Line 26:
|x1= <code>_unit forceAddUniform "U_B_CombatUniform_mcam";</code>|EXAMPLE1=  
|x1= <code>_unit forceAddUniform "U_B_CombatUniform_mcam";</code>|EXAMPLE1=  


____________________________________________________________________________________________


| [[addUniform]], [[isUniformAllowed]], [[removeUniform]], [[uniform]] |SEEALSO=  
| [[addUniform]], [[isUniformAllowed]], [[removeUniform]], [[uniform]] |SEEALSO=  


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
}}
}}



Revision as of 01:19, 17 January 2021

Hover & click on the images for description

Description

Description:
Create a new uniform and hard link it into slot (without any restrictions).
Groups:
ContainersUnit Inventory

Syntax

Syntax:
unit forceAddUniform type
Parameters:
unit: Object
type: String
Return Value:
Nothing

Examples

Example 1:
_unit forceAddUniform "U_B_CombatUniform_mcam";

Additional Information

See also:
addUniformisUniformAllowedremoveUniformuniform

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

Notes

Bottom Section