Arma 3 Scripting

Function in Sides

BIS_fnc_tridentExecute

Also available as Markdown and JSON, or read the original wiki page.

Description

Execute a code based on Trident relationship.

Syntax

[side_1, side_2, codeFriendly, codeEnemy] call BIS_fnc_tridentExecute

Parameters:

Returns: Boolean - true when the sides are allied

Examples

Example 1

[west, east, { params ["_higherScore", "_lowerScore", "_areAllied"] }] call BIS_fnc_tridentExecute;

See also

BIS_fnc_tridentGetRelationship · BIS_fnc_tridentHandleDamage · BIS_fnc_tridentSetRelationship