{"name":"BIS_fnc_areFriendly","operator":null,"title":"BIS fnc areFriendly","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_areFriendly","revid":349194,"updated":"2023-11-08T14:50:41Z","groups":["Sides"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.00"}],"since":{"game":"arma3","name":"Arma 3","version":"1.00"},"arma3_since":"1.00","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Function that takes two Sides and compares them, returning whether they are friendly or not.","syntaxes":[{"syntax":"[side1, side2] call BIS_fnc_areFriendly","since":null,"effect":null,"exec":null,"params":[{"name":"side1","type":"Side","optional":false,"default":null,"description":"first side, will be compared to second side.","types":["Side"],"since":null,"text":"side1: Side - first side, will be compared to second side."},{"name":"side2","type":"Side","optional":false,"default":null,"description":"second side, will be compared to first side.","types":["Side"],"since":null,"text":"side2: Side - second side, will be compared to first side."}],"returns":{"type":"Boolean","types":["Boolean"],"description":"true if sides are friendly to each other, false if not.","text":"Boolean - true if sides are friendly to each other, false if not."}}],"examples":[{"text":"```sqf\nprivate _areFriendly = [west, east] call BIS_fnc_areFriendly;\n```","code":["private _areFriendly = [west, east] call BIS_fnc_areFriendly;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["getFriend","BIS_fnc_sideIsFriendly","BIS_fnc_sideIsEnemy"],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Sides","Functions","Introduced with Arma 3 version 1.00"],"docblock":null,"filled_from_docblock":[]}