BIS fnc tridentGetRelationship: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *R([a-z ])" to "$1 - r$2")
 
(20 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|= Comments
|game1= arma3
____________________________________________________________________________________________
|version1= 1.00


| arma3 |= Game name
|gr1= Sides


|1.00|= Game version
|descr= Gets the relationship of competing Trident sides. The value slowly decreases towards 0.
____________________________________________________________________________________________


| <pre>/*
|s1= [sideA, sideB] call [[BIS_fnc_tridentGetRelationship]]


Description:
|p1= sideA: [[Side]]
Get relationship of competing Trident sides.
The value slowly decreases towards 0.


Parameter(s):
|p2= sideB: [[Side]]
0: SIDE
1: SIDE


Returns:
|r1= [[Number]] - relationship value
NUMBER - relationship value
*/


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


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
|seealso= [[BIS_fnc_tridentSetRelationship]] [[BIS_fnc_tridentHandleDamage]] [[BIS_fnc_tridentExecute]]
____________________________________________________________________________________________
 
| <!-- [] call [[BIS_fnc_tridentGetRelationship]]; --> |= Syntax
 
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
 
|x1= <code></code> |=
____________________________________________________________________________________________
 
| |= See also
 
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Misc|{{uc:tridentGetRelationship}}]]
[[Category:Functions|{{uc:tridentGetRelationship}}]]
[[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