{"name":"BIS_fnc_reviveOnForcingRespawn","operator":null,"title":"BIS fnc reviveOnForcingRespawn","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_reviveOnForcingRespawn","revid":274406,"updated":"2021-06-13T01:22:07Z","groups":["Revive"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.42"}],"since":{"game":"arma3","name":"Arma 3","version":"1.42"},"arma3_since":"1.42","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Used to execute specific code localy on every client whenever 'forcing respawn' flag changes.","syntaxes":[{"syntax":"[] call BIS_fnc_reviveOnForcingRespawn","since":null,"effect":null,"exec":null,"params":[{"name":"param0","type":"String","types":["String"],"optional":false,"default":null,"description":"Variable that carries the 'being revived' flag over the network, defined by macro VAR_TRANSFER_FORCING_RESPAWN.","since":null,"text":"0: STRING - Variable that carries the 'being revived' flag over the network, defined by macro VAR_TRANSFER_FORCING_RESPAWN.","source":"docblock"},{"name":"param1","type":"Boolean","types":["Boolean"],"optional":false,"default":null,"description":"Flag state - true or false.","since":null,"text":"1: BOOL - Flag state - true or false.","source":"docblock"},{"name":"param2","type":"Object","types":["Object"],"optional":false,"default":null,"description":"Unit to set the flag for.","since":null,"text":"2: OBJECT - Unit to set the flag for.","source":"docblock"}],"returns":{"type":"Boolean","types":["Boolean"],"description":null,"text":"True if successful, false if not.","source":"docblock"}}],"examples":[],"multiplayer":null,"problems":null,"aliases":[],"see_also":[],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Revive","Functions","Introduced with Arma 3 version 1.42"],"docblock":{"author":"Jiri Wainar","description":"Used to execute specific code localy on every client whenever 'forcing respawn' flag changes.","params":[{"index":0,"name":null,"types":["String"],"optional":false,"default":null,"description":"Variable that carries the 'being revived' flag over the network, defined by macro VAR_TRANSFER_FORCING_RESPAWN.","text":"STRING - Variable that carries the 'being revived' flag over the network, defined by macro VAR_TRANSFER_FORCING_RESPAWN."},{"index":1,"name":null,"types":["Boolean"],"optional":false,"default":null,"description":"Flag state - true or false.","text":"BOOL - Flag state - true or false."},{"index":2,"name":null,"types":["Object"],"optional":false,"default":null,"description":"Unit to set the flag for.","text":"OBJECT - Unit to set the flag for."}],"returns":{"types":["Boolean"],"text":"True if successful, false if not."},"examples":[],"syntax":null,"execution":null,"notes":null,"requirements":null,"meta":{},"text":"Author: Jiri Wainar\n\nDescription:\nUsed to execute specific code localy on every client whenever 'forcing respawn' flag changes.\n\nParameters:\n    _this select 0: STRING - Variable that carries the 'being revived' flag over the network, defined by macro VAR_TRANSFER_FORCING_RESPAWN.\n    _this select 1: BOOL - Flag state - true or false.\n    _this select 2: OBJECT - Unit to set the flag for.\n\nReturns:\nTrue if successful, false if not."},"filled_from_docblock":["description","params","returns"]}