addUniform: Difference between revisions
Jump to navigation
Jump to search
m (Bot: Reverted to revision 86570 by killzone_kid on 2014-11-23T11:52:36Z) |
m (template:command argument fix) |
||
Line 16: | Line 16: | ||
| unit '''addUniform''' type |= Syntax | | unit '''addUniform''' type |= Syntax | ||
|p1= unit: [[Object]] |= | |p1= unit: [[Object]] |PARAMETER1= | ||
|p2= type: [[String]] |= | |p2= type: [[String]] |PARAMETER2= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
|x1= <code>_unit [[addUniform]] "U_B_CombatUniform_mcam"; | |x1= <code>_unit [[addUniform]] "U_B_CombatUniform_mcam"; | ||
</code>|= | </code>|EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[forceAddUniform]], [[isUniformAllowed]], [[removeUniform]], [[uniform]] |= | | [[forceAddUniform]], [[isUniformAllowed]], [[removeUniform]], [[uniform]] |SEEALSO= | ||
| |= | | |MPBEHAVIOUR= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} |
Revision as of 10:28, 7 April 2019
Description
- Description:
- Create a new uniform and try to link it into uniform slot (given uniform has to be supported by allowedUniforms list of target soldier). To check if uniform is allowed use isUniformAllowed and to force add incompatible uniform use forceAddUniform
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
_unit addUniform "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