{"name":"BIS_fnc_tridentSetRelationship","title":"BIS fnc tridentSetRelationship","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_tridentSetRelationship","revid":348465,"updated":"2023-11-08T13:00:19Z","groups":["Sides"],"status":"ok","games":{"arma3":"1.00"},"since":"arma3 1.00","arma3_since":"1.00","description":"Set relationship of competing Trident sides.\nWhen the value reaches threshold, side relationship will change.\nThe value slowly decreases towards 0.","syntaxes":[{"syntax":"[side1, side2, value, absolute] call BIS_fnc_tridentSetRelationship","params":[{"name":"side1","type":"Side","type_expr":"Side"},{"name":"side2","type":"Side","type_expr":"Side"},{"name":"value","type":"Number","description":"changed value","type_expr":"Number"},{"name":"absolute","type":"Boolean","description":"true to add the value, false to set the value","type_expr":"Boolean"}],"returns":{"type":"Number","type_expr":"Number","description":"relationship value after changes"}}],"examples":[{"code":["[west, east, 0.5, true] call BIS_fnc_tridentSetRelationship;"]}],"see_also":["BIS_fnc_tridentGetRelationship","BIS_fnc_tridentHandleDamage","BIS_fnc_tridentExecute"]}