BIS fnc tridentSetRelationship: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
m (Added one example)
Line 35: Line 35:
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code></code> |=  
 
|x1= <code>[west,independent,-50,false] spawn BIS_fnc_tridentSetRelationship;</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 01:07, 23 September 2015


Hover & click on the images for description

Description

Description:
/*

	Description:
	Set relationship of competing Trident sides.
	When the value reaches threshold, side relationship will change.
	The value slowly decreases towards 0.

	Parameter(s):
		0: SIDE
		1: SIDE
		2: NUMBER - changed value
		3: BOOL - true to add the value, false to set the value

	Returns:
	NUMBER - relationship value after change
*/

(Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki)
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
Syntax needed
Return Value:
Return value needed

Examples

Example 1:
[west,independent,-50,false] spawn BIS_fnc_tridentSetRelationship;

Additional Information

See also:
See also needed

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

Notes

Bottom Section