{"name":"isUniformAllowed","operator":null,"title":"isUniformAllowed","type":"command","url":"https://community.bistudio.com/wiki/isUniformAllowed","revid":319160,"updated":"2022-05-13T09:23:17Z","groups":["Unit Inventory"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.22"}],"since":{"game":"arma3","name":"Arma 3","version":"1.22"},"arma3_since":"1.22","branch":null,"locality":{"argument":"global","effect":null,"server_exec":false},"exec":null,"description":"Check whether given uniform can be dressed by target soldier.","syntaxes":[{"syntax":"unit isUniformAllowed type","since":null,"effect":null,"exec":null,"params":[{"name":"unit","type":"Object","optional":false,"default":null,"description":null,"types":["Object"],"since":null,"text":"unit: Object"},{"name":"type","type":"String","optional":false,"default":null,"description":null,"types":["String"],"since":null,"text":"type: String"}],"returns":{"type":"Boolean","types":["Boolean"],"description":null,"text":"Boolean"},"form":"binary","operator":null,"left":{"text":"unit","types":["Object"]},"right":{"text":"type","types":["String"]}}],"examples":[{"text":"```sqf\n_canUse = _unit isUniformAllowed \"U_B_CombatUniform_mcam\";\n```","code":["_canUse = _unit isUniformAllowed \"U_B_CombatUniform_mcam\";"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["addUniform","forceAddUniform","removeUniform","uniform"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Unit Inventory","Introduced with Arma 3 version 1.22","Scripting Commands"]}