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

SetStageCarChangeHitAndRunChange

Set the amount the Hit & Run meter will change when swapping to a different vehicle for the stage.

Context

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

Syntax

SetStageCarChangeHitAndRunChange( change_amount );

Game.SetStageCarChangeHitAndRunChange( change_amount )

  • change_amount: The amount that will be added to the Hit & Run meter when changing your car.
    • Defaults to -100.

Examples

AddStage();    
	SetStageCarChangeHitAndRunChange(-100);

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

Game.AddStage()    
	Game.SetStageCarChangeHitAndRunChange(-100)

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

Notes

No additional notes.

Version History

1.18

Added this command.

Donut Team © 2023 · v4.0