Arma 3 Scripting

BIS_fnc_areFriendly

  • Arma 3 v1.00

Function · Markdown · JSON · original wiki page

Description

Function that takes two Sides and compares them, returning whether they are friendly or not.

Syntax

[side1, side2] call BIS_fnc_areFriendly

Parameters:

Returns: Boolean - true if sides are friendly to each other, false if not.

Examples

Example 1

private _areFriendly = [west, east] call BIS_fnc_areFriendly;

See also

getFriend · BIS_fnc_sideIsFriendly · BIS_fnc_sideIsEnemy