isUniformAllowed: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (version + it is really a getter) |
m (template:command argument fix) |
||
Line 15: | Line 15: | ||
| unit '''isUniformAllowed''' type |= Syntax | | unit '''isUniformAllowed''' type |= Syntax | ||
|p1= unit: [[Object]] |= | |p1= unit: [[Object]] |PARAMETER1= | ||
|p2= type: [[String]] |= | |p2= type: [[String]] |PARAMETER2= | ||
| [[Boolean]] |= | | [[Boolean]] |RETURNVALUE= | ||
|x1= <code>_canUse = _unit [[isUniformAllowed]] "U_B_CombatUniform_mcam"; | |x1= <code>_canUse = _unit [[isUniformAllowed]] "U_B_CombatUniform_mcam"; | ||
</code>|= | </code>|EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[addUniform]], [[forceAddUniform]], [[removeUniform]], [[uniform]] |= | | [[addUniform]], [[forceAddUniform]], [[removeUniform]], [[uniform]] |SEEALSO= | ||
| |= | | |MPBEHAVIOUR= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} |
Revision as of 10:34, 7 April 2019
Description
- Description:
- Check whether given uniform can be dressed by target soldier.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
_canUse = _unit isUniformAllowed "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