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

SetStageHitAndRunDecay

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

Context

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

Syntax

SetStageHitAndRunDecay( decay_rate );

Game.SetStageHitAndRunDecay( decay_rate )

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

Examples

AddStage();    
	SetStageHitAndRunDecay(4.0);

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

Game.AddStage()
	Game.SetStageHitAndRunDecay(4.0)

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

Notes

No additional notes.

Version History

1.18

Added this command.

Donut Team © 2024 · v4.0