{"name":"BIS_fnc_sideIsEnemy","title":"BIS fnc sideIsEnemy","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_sideIsEnemy","revid":349213,"updated":"2023-11-08T14:50:48Z","groups":["Sides"],"status":"ok","games":{"arma3":"1.56"},"since":"arma3 1.56","arma3_since":"1.56","description":"Determines if side B is enemy to side A the way the game engine does it. The relationship table can be found here: Side Relations.","syntaxes":[{"syntax":"[sideA, sideB] call BIS_fnc_sideIsEnemy","params":[{"name":"sideA","type":"Side","type_expr":"Side"},{"name":"sideB","type":"Side","type_expr":"Side"}],"returns":{"type":"Boolean","type_expr":"Boolean","description":"true if side B is enemy to side A."}}],"examples":[{"code":["private _isEnemy = [west, east] call BIS_fnc_sideIsEnemy; //Checks if EAST is enemy to WEST."]}],"see_also":["getFriend","setFriend","BIS_fnc_sideIsFriendly","Side Relations"]}