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

SetCondDelay

Specify a delay for the mission failed screen when failing collectcoins, collectwrench, destroycars, hitandrun, hitandruncaught, hitandrunrage, hitpeds, jump or spring conditions.

Context

This command should be called between calls to AddCondition and CloseCondition.

Syntax

SetCondDelay( delay );

Game.SetCondDelay( delay )

Examples

AddCondition("jump");
	// Make it wait longer for some reason.
	SetCondDelay(3);
CloseCondition();

Game.AddCondition("jump")
	-- Make it wait longer for some reason.
	Game.SetCondDelay(3)
Game.CloseCondition()

Notes

No additional notes.

Version History

1.18

Added this command.

Donut Team © 2024 · v4.0