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

SetStageHitAndRun

Set the value of the Hit & Run meter when starting the stage.

Context

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

Syntax

SetStageHitAndRun( meter );

Game.SetStageHitAndRun( meter )

meter: The value to set the meter to. From 0 to 100. 100 will trigger a Hit & Run when reaching the stage.

Examples

AddStage();
	SetStageHitAndRun(100);

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

Game.AddStage()
	Game.SetStageHitAndRun(100)

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

Notes

No additional notes.

Version History

1.18

Added this command.

Donut Team © 2024 · v4.0