isUniformAllowed

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 3 version 1.22
  Arguments of this scripting command don't have to be local to the client the command is executed on

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.22

Description

Description:
Check whether given uniform can be dressed by target soldier.

Syntax

Syntax:
unit isUniformAllowed type
Parameters:
unit: Object
type: String
Return Value:
Boolean

Examples

Example 1:
_canUse = _unit isUniformAllowed "U_B_CombatUniform_mcam";

Additional Information

Multiplayer:
-
See also:
addUniformforceAddUniformremoveUniformuniform

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section