LML: Additional Script Functionality > MFK Commands > Stage Commands > SetStageHitAndRunDecay

SetStageHitAndRunDecay

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

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.