Description
Sets a mission checkpoint for the Apex campaign. In single-player the game is saved with saveGame (position and name are not used). In multiplayer a respawn position is added with BIS_fnc_addRespawnPosition, which receives all three arguments.
The Apex campaign mission EXP_m05 calls it from triggers whose condition requires isServer and from its mission flow FSM.
Syntax
[target, position, name] call BIS_fnc_EXP_camp_checkpoint
Parameters:
target: Namespace, Side, Group or Object - (Optional, default missionNamespace) who gets the respawn position, see BIS_fnc_addRespawnPositionposition: String, Group, Object or Array - (Optional, default "") the respawn position: marker name, group (leader), object or positionname: String - (Optional, default "") the respawn position's name, text or localization key
Returns: Array - format [target, id]:
- in multiplayer, the value returned by BIS_fnc_addRespawnPosition (id is a Number, usable with BIS_fnc_removeRespawnPosition)
- in single-player, [target, ""]
Examples
Example 1
[west, getMarkerPos "BIS_respawn_1", localize "STR_A3_Exp_m05_Respawn_2"] call BIS_fnc_EXP_camp_checkpoint;
See also
BIS_fnc_addRespawnPosition · BIS_fnc_removeRespawnPosition · saveGame