BIS fnc tridentGetRelationship: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|gr([0-9]+) = " to "|gr$1= ")
m (formatting)
Line 1: Line 1:
{{RV|type=function
{{RV|type=function
| arma3|1.00|gr1= Sides| Description:
Get relationship of competing Trident sides.
The value slowly decreases towards 0.| [side_1,side_2] call [[BIS_fnc_tridentGetRelationship]]
|p1= side_1: [[Side]]|p2= side_2: [[Side]]
| [[Number]] - Relationship value|x1= <code>[ [[west]], [[east]] ] [[call]] [[BIS_fnc_tridentGetRelationship]];</code>
|seealso= [[BIS_fnc_tridentSetRelationship]], [[BIS_fnc_tridentHandleDamage]], [[BIS_fnc_tridentExecute]]
}}


|game1= arma3
|version1= 1.00
|gr1= Sides
|descr= Gets the relationship of competing Trident sides. The value slowly decreases towards 0.
|s1= [side_1, side_2] call [[BIS_fnc_tridentGetRelationship]]
|p1= side_1: [[Side]]
|p2= side_2: [[Side]]
|r1= [[Number]] - Relationship value


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


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

Revision as of 09:08, 23 April 2021

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:
[side_1, side_2] call BIS_fnc_tridentGetRelationship
Parameters:
side_1: Side
side_2: Side
Return Value:
Number - Relationship value

Examples

Example 1:
[west, east] call BIS_fnc_tridentGetRelationship;

Additional Information

See also:
BIS_fnc_tridentSetRelationshipBIS_fnc_tridentHandleDamageBIS_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