Sets a CarStart Locator that the player character will automatically walk towards when the mission is selected or restarted.
Scope
This command should be called between calls to SelectMission and CloseMission in a mission's initialisation script.
Syntax
MFK
Lua
SetInitialWalk( walk_locator );Game.SetInitialWalk( walk_locator )- walk_locator: The CarStart Locator that the player will walk to.
Examples
MFK
Lua
SelectMission("m1");
// ...
SetInitialWalk("level1_homer_walkto");
AddStage();
// ...
CloseStage();
CloseMission();Game.SelectMission("m1")
-- ...
Game.SetInitialWalk("level1_homer_walkto")
Game.AddStage()
-- ...
Game.CloseStage()
Game.CloseMission()