forceAddUniform: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma3 | | arma3 | ||
|1.22 | |1.22 | ||
|gr1 = Containers | |gr1 = Containers | ||
|arg= global | |arg= global | ||
|eff= global | |eff= global | ||
|gr2= Unit Inventory | |gr2= Unit Inventory | ||
| Create a new uniform and hard link it into slot (without any restrictions). | | Create a new uniform and hard link it into slot (without any restrictions). | ||
| unit [[forceAddUniform]] type | | unit [[forceAddUniform]] type | ||
|p1= unit: [[Object]] | |p1= unit: [[Object]] | ||
|p2= type: [[String]] | |p2= type: [[String]] | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1= <code>_unit forceAddUniform "U_B_CombatUniform_mcam";</code> | |x1= <code>_unit forceAddUniform "U_B_CombatUniform_mcam";</code> | ||
| [[addUniform]], [[isUniformAllowed]], [[removeUniform]], [[uniform]] | | [[addUniform]], [[isUniformAllowed]], [[removeUniform]], [[uniform]] | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= |
Revision as of 00:36, 18 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