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

SetDynaLoadData

Tells the game which zones to load upon restarting a mission.

Context

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

Syntax

SetDynaLoadData( dyna_load_data_string );

Game.SetDynaLoadData( dyna_load_data_string )

Examples

SelectMission("m1");
	...
	
	SetDynaLoadData("l1z1.p3d;l1r1.p3d;l1r7.p3d;");

	AddStage();	
		...	
	CloseStage();
CloseMission();

Game.SelectMission("m1")
	...
	
	Game.SetDynaLoadData("l1z1.p3d;l1r1.p3d;l1r7.p3d;")

	Game.AddStage() 	
		...	
	Game.CloseStage()
Game.CloseMission()

Notes

At least one zone must be loaded by the command, otherwise the game will hang on the loading screen. Attempting to put SetDynaLoadData(""); will crash the game.

Donut Team © 2024 · v4.0