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

hitandruncaught

Fail the player if they get caught in a Hit & Run.

Examples

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

Game.AddCondition("hitandruncaught")
	-- Optional: Specify a delay for the mission failed screen. Defaults to 2 seconds.
	--	  This is to allow enough time for the Hit & Run ticket 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