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

SetStageHitAndRunDecayInterior

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

Context

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

Syntax

SetStageHitAndRunDecayInterior( decay_rate );

Game.SetStageHitAndRunDecayInterior( decay_rate )

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

Examples

AddStage();    
	SetStageHitAndRunDecayInterior(4.0);

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

Game.AddStage() 
	Game.SetStageHitAndRunDecayInterior(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