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

SetStageHitAndRunFine

Set the Hit & Run fine for a stage.

Context

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

Syntax

SetStageHitAndRunFine( fine );

Game.SetStageHitAndRunFine( fine )

  • fine: The amount to fine the player during the stage. Default's to the level's hit & run fine.

Examples

AddStage();
	// No fine during this stage, go crazy.
	SetStageHitAndRunFine(0);

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

Game.AddStage() 
	-- No fine during this stage, go crazy.
	Game.SetStageHitAndRunFine(0)

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

Notes

No additional notes.

Version History

1.18

Added this command.

Donut Team © 2020 · v4.0