Description
Select respawn template from CfgRespawnTemplates and execute its script / function. Internal use.
Syntax
[mode, arguments] call BIS_fnc_selectRespawnTemplate
Parameters:
mode: String - case-sensitive, can be one of:- "playerKilledScript"
- "playerRespawnScript"
- "playerRespawnSeagullScript"
- "playerResurrectScript"
- "playerRespawnOtherUnitScript"
- "initRespawn"
- "initRespawnStart"
- "initRespawnEnd"
arguments: Array
Returns: Array of Script Handles
Examples
Example 1
["playerKilledScript", []] call BIS_fnc_selectRespawnTemplate;