{"name":"BIS_fnc_respawnManager","operator":null,"title":"BIS fnc respawnManager","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_respawnManager","revid":309778,"updated":"2022-05-05T12:09:49Z","groups":["Respawn"],"status":"ok","replaced_by":[],"games":[{"game":"arma2oa","name":"Arma 2: Operation Arrowhead","version":"1.50"},{"game":"tkoh","name":"Take On Helicopters","version":"1.00"},{"game":"arma3","name":"Arma 3","version":"0.50"}],"since":{"game":"arma2oa","name":"Arma 2: Operation Arrowhead","version":"1.50"},"arma3_since":"0.50","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"All checkpoints must be markers with name prefix BIS_checkpointnr","syntaxes":[{"syntax":"[param1, param2] call BIS_fnc_respawnManager","since":null,"effect":null,"exec":null,"params":[{"name":"param1","type":null,"types":[],"optional":false,"default":null,"description":"string, list of functions:\n- Init\n- Destroy\n- AddCheckpoint\n- RemoveCheckpoint","since":null,"text":"1: function called - string, list of functions:\n- Init\n- Destroy\n- AddCheckpoint\n- RemoveCheckpoint","source":"docblock"},{"name":"param2","type":null,"types":[],"optional":false,"default":null,"description":"parameter for the function\nFor more information see https://wiki.bistudio.com/index.php/RespawnManager","since":null,"text":"2: parameter for the function\nFor more information see https://wiki.bistudio.com/index.php/RespawnManager","source":"docblock"}],"returns":{"type":null,"types":[],"description":null,"text":"depends on the function called\n\nTODO:        -performance: add markers positions to the array instead of the testing\n        their positions every loop in _CheckNearestCheckpoint function - DONE\n        -pridat funkci GetActualCheckpoint(character) - DONE\n        -osetrit pripad, kdy postava neexistuje (je prave v respawnu/zahynula) - NEPOTREBUJEME\n        -typy markeru podle modu: normal/debug - DONE\n        -optional parameter marker name - DONE\n        -optional prefix marker name as a parameter to the Init procedure\n        -add functionality for 3 parameters function call - DONE\n        -vlastni lokalni checkpointy(markery) pro hratelne postavy(AddCheckpoint/RemoveCheckpoint)","source":"docblock"},"inferred":true}],"examples":[],"multiplayer":null,"problems":null,"aliases":[],"see_also":[],"notes":[],"categories":["Arma 2: Operation Arrowhead: Functions","Arma 2: Operation Arrowhead: New Functions","Arma 3: Functions","Function Group: Respawn","Functions","Introduced with Arma 2: Operation Arrowhead version 1.50","Take On Helicopters: Functions"],"docblock":{"author":null,"description":"All checkpoints must be markers with name prefix BIS_checkpointnr","params":[{"index":1,"name":null,"types":[],"optional":false,"default":null,"description":"string, list of functions:\n- Init\n- Destroy\n- AddCheckpoint\n- RemoveCheckpoint","text":"function called - string, list of functions:\n- Init\n- Destroy\n- AddCheckpoint\n- RemoveCheckpoint"},{"index":2,"name":null,"types":[],"optional":false,"default":null,"description":"parameter for the function\nFor more information see https://wiki.bistudio.com/index.php/RespawnManager","text":"parameter for the function\nFor more information see https://wiki.bistudio.com/index.php/RespawnManager"}],"returns":{"types":[],"text":"depends on the function called\n\nTODO:        -performance: add markers positions to the array instead of the testing\n        their positions every loop in _CheckNearestCheckpoint function - DONE\n        -pridat funkci GetActualCheckpoint(character) - DONE\n        -osetrit pripad, kdy postava neexistuje (je prave v respawnu/zahynula) - NEPOTREBUJEME\n        -typy markeru podle modu: normal/debug - DONE\n        -optional parameter marker name - DONE\n        -optional prefix marker name as a parameter to the Init procedure\n        -add functionality for 3 parameters function call - DONE\n        -vlastni lokalni checkpointy(markery) pro hratelne postavy(AddCheckpoint/RemoveCheckpoint)"},"examples":[],"syntax":null,"execution":null,"notes":null,"requirements":null,"meta":{"version":"2.0","name":"Respawn manager"},"text":"Version:    2.0\nName:        Respawn manager\nDESCRIPTION:    All checkpoints must be markers with name prefix BIS_checkpointnr\nPARAMETERS:    1) function called - string, list of functions:\n            - Init\n            - Destroy\n            - AddCheckpoint\n            - RemoveCheckpoint\n        2) parameter for the function\n        For more information see https://wiki.bistudio.com/index.php/RespawnManager\nRETURNED VALUE: depends on the function called\n\nTODO:        -performance: add markers positions to the array instead of the testing\n        their positions every loop in _CheckNearestCheckpoint function - DONE\n        -pridat funkci GetActualCheckpoint(character) - DONE\n        -osetrit pripad, kdy postava neexistuje (je prave v respawnu/zahynula) - NEPOTREBUJEME\n        -typy markeru podle modu: normal/debug - DONE\n        -optional parameter marker name - DONE\n        -optional prefix marker name as a parameter to the Init procedure\n        -add functionality for 3 parameters function call - DONE\n        -vlastni lokalni checkpointy(markery) pro hratelne postavy(AddCheckpoint/RemoveCheckpoint)"},"filled_from_docblock":["description","params","syntax","returns"]}