Games > The Simpsons Hit & Run > Console File Commands > MFK Commands > Missions > SetInitialWalk

SetInitialWalk

Sets a Type 3 Locator that the player character will automatically walk towards when the mission is selected or restarted.

Context

This command should be called between calls to SelectMission and CloseMission.

Syntax

SetInitialWalk( walk_locator );

Game.SetInitialWalk( walk_locator )

Examples

SelectMission("m1");
	...
	
	SetInitialWalk("level1_homer_walkto");
	
	AddStage();
		...
	CloseStage();
CloseMission();

Game.SelectMission("m1")
	...
	
	Game.SetInitialWalk("level1_homer_walkto")
	
	Game.AddStage()
		...
	Game.CloseStage()
Game.CloseMission()

Notes

No additional notes.

Donut Team © 2023 · v4.0