---
name: "BIS_fnc_areFriendly"
type: function
status: ok
groups: ["Sides"]
arma3_since: "1.00"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_areFriendly
revid: 379311
updated: 2026-10-30T23:49:38Z
---

# BIS_fnc_areFriendly

*Function · Sides · Arma 3 v1.00*

## Description

Function that takes two [Sides](../topics/Side.md) and compares them, returning whether they are friendly or not.

## Syntax

```sqf
[side1, side2] call BIS_fnc_areFriendly
```

**Parameters:**

- `side1`: [Side](../topics/Side.md) - first side, will be compared to second side.
- `side2`: [Side](../topics/Side.md) - second side, will be compared to first side.

**Returns:** [Boolean](../topics/Boolean.md) - true if sides are friendly to each other, false if not.

## Examples

### Example 1

```sqf
private _areFriendly = [west, east] call BIS_fnc_areFriendly;
```

## See also

[getFriend](../commands/getFriend.md) · [BIS_fnc_sideIsFriendly](../functions/BIS_fnc_sideIsFriendly.md) · [BIS_fnc_sideIsEnemy](../functions/BIS_fnc_sideIsEnemy.md)

## Community notes

**Tryteyker-** — 2014-09-29

The friendly limit determined in the script is 0.6. Anything under 0.6 is considered hostile, whilst >=0.6 is considered friendly.

<sub>Source: [BI Community Wiki — BIS fnc areFriendly](https://community.bistudio.com/wiki/BIS_fnc_areFriendly) (revision 379311).</sub>
