{"name":"BIS_fnc_EXP_camp_IFF","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","games":{"arma3":"1.62"},"since":"arma3 1.62","arma3_since":"1.62","locality":{"argument":"local","effect":"local"},"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","params":[{"name":"units","type":"Array","description":"an array of units on which to apply IFF effect","type_expr":"Array"}],"returns":{"type":"Boolean","type_expr":"Boolean","description":"true if successful, false if not"}}],"examples":[{"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"]}]}