---
name: "BIS_fnc_tridentSetRelationship"
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_tridentSetRelationship
revid: 348465
updated: 2023-11-08T13:00:19Z
---

# BIS_fnc_tridentSetRelationship

*Function · Sides · Arma 3 v1.00*

## Description

Set relationship of competing Trident sides.
When the value reaches threshold, side relationship will change.
The value slowly decreases towards 0.

## Syntax

```sqf
[side1, side2, value, absolute] call BIS_fnc_tridentSetRelationship
```

**Parameters:**

- `side1`: [Side](../topics/Side.md)
- `side2`: [Side](../topics/Side.md)
- `value`: [Number](../topics/Number.md) - changed value
- `absolute`: [Boolean](../topics/Boolean.md) - [true](../commands/true.md) to add the value, [false](../commands/false.md) to set the value

**Returns:** [Number](../topics/Number.md) - relationship value after changes

## Examples

### Example 1

```sqf
[west, east, 0.5, true] call BIS_fnc_tridentSetRelationship;
```

## See also

[BIS_fnc_tridentGetRelationship](../functions/BIS_fnc_tridentGetRelationship.md) · [BIS_fnc_tridentHandleDamage](../functions/BIS_fnc_tridentHandleDamage.md) · [BIS_fnc_tridentExecute](../functions/BIS_fnc_tridentExecute.md)

<sub>Source: [BI Community Wiki — BIS fnc tridentSetRelationship](https://community.bistudio.com/wiki/BIS_fnc_tridentSetRelationship) (revision 348465).</sub>
