Modding Tools > Lucas' Simpsons Hit & Run Mod Launcher > Hacks > Mod Requirable Hacks > Additional Script Functionality > Condition Types > maintainspeed

maintainspeed

Fail the player if they do not maintain a speed within a specified range during the stage.

Examples

AddCondition("maintainspeed");
	// Required: Specify the range the player must keep their speed within during the stage.
	SetCondSpeedRangeKMH(90,150);
CloseCondition();

Game.AddCondition("maintainspeed")
	-- Required: Specify the range the player must keep their speed within during the stage.
	Game.SetCondSpeedRangeKMH(90,150)
Game.CloseCondition()

Notes

No additional notes.

Version History

1.18

Added this condition type.

Donut Team © 2024 · v4.0