Sets the positions where the player and their vehicle are placed upon restarting a mission.
Scope
This command should be called between calls to SelectMission and CloseMission in a mission's initialisation script.
Syntax
SetMissionResetPlayerOutCar( player_locator, vehicle_locator );Game.SetMissionResetPlayerOutCar( player_locator, vehicle_locator )- player_locator: The name of the CarStart Locator where the player is placed.
- vehicle_locator: The name of the CarStart Locator where the player's vehicle is placed.
Examples
SelectMission("m1");
// ...
SetMissionResetPlayerOutCar("m4_homer_start", "m4_carstart");
AddStage();
// ...
CloseStage();
CloseMission();Game.SelectMission("m1")
-- ...
Game.SetMissionResetPlayerOutCar("m4_homer_start", "m4_carstart")
Game.AddStage()
-- ...
Game.CloseStage()
Game.CloseMission()Notes
When both this command and SetMissionResetPlayerInCar are used, the player will be placed at the player_locator from this command, and the vehicle will be placed at whichever vehicle_locator is specified last in the script.