Games > The Simpsons Hit & Run > Objective Types > Known Types > timer

timer

This objective will wait for the number of seconds specified before moving on to the next stage.

Examples

AddObjective("timer");
	// Required: Specify the number of seconds the game will wait for.
	SetDurationTime(2);
CloseObjective();

Game.AddObjective("timer")
	-- Required: Specify the number of seconds the game will wait for.
	Game.SetDurationTime(2)
Game.CloseObjective()

Notes

No additional notes.

Donut Team © 2024 · v4.0