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

SetStageHitAndRunDecayHitAndRun

Set the Hit & Run meter decay rate while in a Hit & Run for a stage.

Context

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

Syntax

SetStageHitAndRunDecayHitAndRun( decay_rate );

Game.SetStageHitAndRunDecayHitAndRun( decay_rate )

  • decay_rate: The decay rate. Defaults to the level's Hit & Run decay rate.

Examples

AddStage();    
	SetStageHitAndRunDecayHitAndRun(4.0);

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

Game.AddStage()
	Game.SetStageHitAndRunDecayHitAndRun(4.0)

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

Notes

No additional notes.

Version History

1.18

Added this command.

Donut Team © 2020 · v4.0