Tryteyker-
The friendly limit determined in the script is 0.6. Anything under 0.6 is considered hostile, whilst >=0.6 is considered friendly.
Results appear below as you type; use the arrow keys to move through them.
Function that takes two Sides and compares them, returning whether they are friendly or not.
[side1, side2] call BIS_fnc_areFriendly
Parameters:
side1: Side - first side, will be compared to second side.side2: Side - second side, will be compared to first side.Returns: Boolean - true if sides are friendly to each other, false if not.
private _areFriendly = [west, east] call BIS_fnc_areFriendly;
getFriend · BIS_fnc_sideIsFriendly · BIS_fnc_sideIsEnemy
The friendly limit determined in the script is 0.6. Anything under 0.6 is considered hostile, whilst >=0.6 is considered friendly.