Modding Tools > Lucas' Simpsons Hit & Run Mod Launcher > Hacks > Mod Requirable Hacks > Additional Script Functionality > MFK Commands > Stages > Checkpoints > SetCheckpointDynaLoadData

SetCheckpointDynaLoadData

This command sets the dyna load data string to use when resuming a stage from a checkpoint.

Context

This command should be called between calls to AddStage and CloseStage.

Additionally, this should be called alongside CHECKPOINT_HERE.

Syntax

SetCheckpointDynaLoadData( dyna_load_data );

Game.SetCheckpointDynaLoadData( dyna_load_data )

Examples

AddStage();
	CHECKPOINT_HERE();
	SetCheckpointDynaLoadData("l1z1.p3d;l1r1.p3d;l1r7.p3d;");

	AddObjective("dummy");
	CloseObjective();
CloseStage();

Game.AddStage()
	Game.CHECKPOINT_HERE()
	Game.SetCheckpointDynaLoadData("l1z1.p3d;l1r1.p3d;l1r7.p3d;")

	Game.AddObjective("dummy")
	Game.CloseObjective()
Game.CloseStage()

Notes

No additional notes.

Version History

1.25

Added this command.

Donut Team © 2024 · v4.0