{"name":"BIS_fnc_EXP_camp_IFF","operator":null,"title":"BIS fnc EXP camp IFF","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_EXP_camp_IFF","revid":352439,"updated":"2024-02-10T14:09:11Z","groups":["Campaign","GUI"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.62"}],"since":{"game":"arma3","name":"Arma 3","version":"1.62"},"arma3_since":"1.62","branch":null,"locality":{"argument":"local","effect":"local","server_exec":false},"exec":null,"description":"Simple handling of the Support Team's scripted IFF.\n\n> [!NOTE]\n> See #Example 2 for icon and name options.","syntaxes":[{"syntax":"[units] call BIS_fnc_EXP_camp_IFF","since":null,"effect":null,"exec":null,"params":[{"name":"units","type":"Array","optional":false,"default":null,"description":"an array of units on which to apply IFF effect","types":["Array"],"since":null,"text":"units: Array - an array of units on which to apply IFF effect"}],"returns":{"type":"Boolean","types":["Boolean"],"description":"true if successful, false if not","text":"Boolean - true if successful, false if not"}}],"examples":[{"text":"```sqf\n[units group player] call BIS_fnc_EXP_camp_IFF;\n```","code":["[units group player] call BIS_fnc_EXP_camp_IFF;"]},{"text":"```sqf\nindividualUnit setVariable [\"BIS_iconAlways\", true];    // to always show the icon and name of a unit\nindividualUnit setVariable [\"BIS_iconShow\", false];        // to hide the icon\nindividualUnit setVariable [\"BIS_iconName\", false];        // to hide the name\n```","code":["individualUnit setVariable [\"BIS_iconAlways\", true];\t// to always show the icon and name of a unit\nindividualUnit setVariable [\"BIS_iconShow\", false];\t\t// to hide the icon\nindividualUnit setVariable [\"BIS_iconName\", false];\t\t// to hide the name"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":[],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Campaign","Function Group: GUI","Functions","Functions: Local Effect","Introduced with Arma 3 version 1.62"],"docblock":null,"filled_from_docblock":[]}