forceAddUniform: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\{\{GameCategory\|(arma[0123])\|New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}") |
Lou Montana (talk | contribs) 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
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
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