BIS_fnc_respawnManager
- Arma 3 v0.50
- First in Arma 2: Operation Arrowhead v1.50
Function · Markdown · JSON · original wiki page
Description
All checkpoints must be markers with name prefix BIS_checkpointnr
Syntax
syntax inferred from the function header
[param1, param2] call BIS_fnc_respawnManager
Parameters:
param1— 1: function called - string, list of functions:- Init
- Destroy
- AddCheckpoint
- RemoveCheckpoint
param2— 2: parameter for the function For more information see https://wiki.bistudio.com/index.php/RespawnManager
Returns: depends on the function called
TODO: -performance: add markers positions to the array instead of the testing their positions every loop in _CheckNearestCheckpoint function - DONE -pridat funkci GetActualCheckpoint(character) - DONE -osetrit pripad, kdy postava neexistuje (je prave v respawnu/zahynula) - NEPOTREBUJEME -typy markeru podle modu: normal/debug - DONE -optional parameter marker name - DONE -optional prefix marker name as a parameter to the Init procedure -add functionality for 3 parameters function call - DONE -vlastni lokalni checkpointy(markery) pro hratelne postavy(AddCheckpoint/RemoveCheckpoint)
Function header
The comment at the top of the function's file in the game; this page's description, params, syntax, returns come from it.
/*
Version: 2.0
Name: Respawn manager
DESCRIPTION: All checkpoints must be markers with name prefix BIS_checkpointnr
PARAMETERS: 1) function called - string, list of functions:
- Init
- Destroy
- AddCheckpoint
- RemoveCheckpoint
2) parameter for the function
For more information see https://wiki.bistudio.com/index.php/RespawnManager
RETURNED VALUE: depends on the function called
TODO: -performance: add markers positions to the array instead of the testing
their positions every loop in _CheckNearestCheckpoint function - DONE
-pridat funkci GetActualCheckpoint(character) - DONE
-osetrit pripad, kdy postava neexistuje (je prave v respawnu/zahynula) - NEPOTREBUJEME
-typy markeru podle modu: normal/debug - DONE
-optional parameter marker name - DONE
-optional prefix marker name as a parameter to the Init procedure
-add functionality for 3 parameters function call - DONE
-vlastni lokalni checkpointy(markery) pro hratelne postavy(AddCheckpoint/RemoveCheckpoint)
*/