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

ResetStageHitAndRun

Resets the Hit & Run meter when reaching a stage, erasing all existing chase cars.

Context

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

Syntax

ResetStageHitAndRun();

Game.ResetStageHitAndRun()

Examples

AddStage();
	ResetStageHitAndRun();

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

Game.AddStage();
	Game.ResetStageHitAndRun()

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

Notes

No additional notes.

Version History

1.18

Added this command.

Donut Team © 2024 · v4.0