{"name":"BIS_fnc_areFriendly","title":"BIS fnc areFriendly","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_areFriendly","revid":379311,"updated":"2026-10-30T23:49:38Z","groups":["Sides"],"status":"ok","games":{"arma3":"1.00"},"since":"arma3 1.00","arma3_since":"1.00","description":"Function that takes two Sides and compares them, returning whether they are friendly or not.","syntaxes":[{"syntax":"[side1, side2] call BIS_fnc_areFriendly","params":[{"name":"side1","type":"Side","description":"first side, will be compared to second side.","type_expr":"Side"},{"name":"side2","type":"Side","description":"second side, will be compared to first side.","type_expr":"Side"}],"returns":{"type":"Boolean","type_expr":"Boolean","description":"true if sides are friendly to each other, false if not."}}],"examples":[{"code":["private _areFriendly = [west, east] call BIS_fnc_areFriendly;"]}],"see_also":["getFriend","BIS_fnc_sideIsFriendly","BIS_fnc_sideIsEnemy"],"notes":[{"user":"Tryteyker-","date":"2014-09-29T19:31:00Z","text":"The friendly limit determined in the script is 0.6. Anything under 0.6 is considered hostile, whilst >=0.6 is considered friendly."}]}