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

hitandrun

Fail the player if they get a Hit & Run.

Examples

AddCondition("hitandrun");
	// Optional: Specify a delay for the mission failed screen. Defaults to 2 seconds.
	//	  This is to allow enough time for the Hit & Run text to 
	//	  disappear before showing the mission failed screen.
	SetCondDelay(2);
CloseCondition();

Game.AddCondition("hitandrun")
	-- Optional: Specify a delay for the mission failed screen. Defaults to 2 seconds.
	--	  This is to allow enough time for the Hit & Run text to 
	--	  disappear before showing the mission failed screen.
	Game.SetCondDelay(2)
Game.CloseCondition()

Notes

No additional notes.

Version History

1.18

Added this condition type.

Donut Team © 2024 · v4.0