Modding Tools > Lucas' Simpsons Hit & Run Mod Launcher > Hacks > Mod Requirable Hacks > Additional Script Functionality > MFK Commands > Levels > SetHitAndRunDecayHitAndRun

SetHitAndRunDecayHitAndRun

Set the amount the Hit & Run meter will decay each second while the player is in a Hit & Run.

Context

This command should be called in a level's initialisation script (leveli.mfk).

Syntax

SetHitAndRunDecayHitAndRun( decay_rate );

Game.SetHitAndRunDecayHitAndRun( decay_rate )

  • decay_rate: The rate at which the meter will decay while in a Hit & Run.
    • Defaults to 6.0.

Examples

SetHitAndRunDecayHitAndRun(6.0);

Game.SetHitAndRunDecayHitAndRun(6.0)

Notes

No additional notes.

Version History

1.18

Added this command.

Donut Team © 2020 · v4.0