{"name":"BIS_fnc_tridentSetRelationship","operator":null,"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","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.00"}],"since":{"game":"arma3","name":"Arma 3","version":"1.00"},"arma3_since":"1.00","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"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","since":null,"effect":null,"exec":null,"params":[{"name":"side1","type":"Side","optional":false,"default":null,"description":null,"types":["Side"],"since":null,"text":"side1: Side"},{"name":"side2","type":"Side","optional":false,"default":null,"description":null,"types":["Side"],"since":null,"text":"side2: Side"},{"name":"value","type":"Number","optional":false,"default":null,"description":"changed value","types":["Number"],"since":null,"text":"value: Number - changed value"},{"name":"absolute","type":"Boolean","optional":false,"default":null,"description":"true to add the value, false to set the value","types":["Boolean"],"since":null,"text":"absolute: Boolean - true to add the value, false to set the value"}],"returns":{"type":"Number","types":["Number"],"description":"relationship value after changes","text":"Number - relationship value after changes"}}],"examples":[{"text":"```sqf\n[west, east, 0.5, true] call BIS_fnc_tridentSetRelationship;\n```","code":["[west, east, 0.5, true] call BIS_fnc_tridentSetRelationship;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["BIS_fnc_tridentGetRelationship","BIS_fnc_tridentHandleDamage","BIS_fnc_tridentExecute"],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Sides","Functions","Introduced with Arma 3 version 1.00"],"docblock":null,"filled_from_docblock":[]}