BIS fnc tridentGetRelationship: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects? in MP|Multiplayer Effects(...)
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *R([a-z ])" to "$1 - r$2")
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function| arma3|1.00|gr1 = Sides| Description:
{{RV|type=function
Get relationship of competing Trident sides.
 
The value slowly decreases towards 0.| [side_1,side_2] call [[BIS_fnc_tridentGetRelationship]]
|game1= arma3
|p1= side_1: [[Side]]|p2= side_2: [[Side]]
|version1= 1.00
| [[Number]] - Relationship value|x1= <code>[ [[west]], [[east]] ] [[call]] [[BIS_fnc_tridentGetRelationship]];</code>
 
| [[BIS_fnc_tridentSetRelationship]], [[BIS_fnc_tridentHandleDamage]], [[BIS_fnc_tridentExecute]]
|gr1= Sides
}}
 
|descr= Gets the relationship of competing Trident sides. The value slowly decreases towards 0.
 
|s1= [sideA, sideB] call [[BIS_fnc_tridentGetRelationship]]
 
|p1= sideA: [[Side]]
 
|p2= sideB: [[Side]]


|r1= [[Number]] - relationship value


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


[[Category:Functions|{{uc:tridentGetRelationship}}]]
|seealso= [[BIS_fnc_tridentSetRelationship]] [[BIS_fnc_tridentHandleDamage]] [[BIS_fnc_tridentExecute]]
[[Category:{{Name|arma3}}: Functions|{{uc:tridentGetRelationship}}]]
}}

Latest revision as of 16:47, 8 November 2023

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