BIS fnc tridentGetRelationship: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^<]*)<nowiki>\[<\/nowiki>\[\[([a-zA-Z0-9_]+)\]\](.*)<\/code>" to "<code>$1$2$3</code>")
m (Some wiki formatting)
Line 8: Line 8:
|descr= Gets the relationship of competing Trident sides. The value slowly decreases towards 0.
|descr= Gets the relationship of competing Trident sides. The value slowly decreases towards 0.


|s1= [side_1, side_2] call [[BIS_fnc_tridentGetRelationship]]
|s1= [sideA, sideB] call [[BIS_fnc_tridentGetRelationship]]


|p1= side_1: [[Side]]
|p1= sideA: [[Side]]


|p2= side_2: [[Side]]
|p2= sideB: [[Side]]


|r1= [[Number]] - Relationship value
|r1= [[Number]] - Relationship value


|x1= <code>west, [[east]]] [[call]] [[BIS_fnc_tridentGetRelationship]];</code>
|x1= <sqf>[west, east] call BIS_fnc_tridentGetRelationship;</sqf>


|seealso= [[BIS_fnc_tridentSetRelationship]] [[BIS_fnc_tridentHandleDamage]] [[BIS_fnc_tridentExecute]]
|seealso= [[BIS_fnc_tridentSetRelationship]] [[BIS_fnc_tridentHandleDamage]] [[BIS_fnc_tridentExecute]]
}}
}}

Revision as of 13:13, 13 July 2022

Hover & click on the images for description

Description

Description:
Gets the relationship of competing Trident sides. The value slowly decreases towards 0.
Execution:
call
Groups:
Sides

Syntax

Syntax:
[sideA, sideB] call BIS_fnc_tridentGetRelationship
Parameters:
sideA: Side
sideB: Side
Return Value:
Number - Relationship value

Examples

Example 1:
[west, east] call BIS_fnc_tridentGetRelationship;

Additional Information

See also:
BIS_fnc_tridentSetRelationship BIS_fnc_tridentHandleDamage BIS_fnc_tridentExecute

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note