Games > The Simpsons: Hit & Run > Console File Commands > MFK Commands > Stages > Timers > UseElapsedTime

UseElapsedTime

This command makes a stage timer added with SetStageTime or AddStageTime count up rather than down.

Context

This command should be called between calls to AddStage and CloseStage.

Syntax

UseElapsedTime();

Game.UseElapsedTime()

Examples

SelectMission("m1");
	...

	AddStage();
		SetStageTime(0);
		UseElapsedTime(); // Make the timer count up from 0 in this stage

		AddObjective("dummy");

		CloseObjective();
	CloseStage();
CloseMission();

Game.SelectMission("m1")
	...

	Game.AddStage()
		Game.SetStageTime(0)
		Game.UseElapsedTime() -- Make the timer count up from 0 in this stage

		Game.AddObjective("dummy")

		Game.CloseObjective()
	Game.CloseStage()
Game.CloseMission()

Notes

This is only used in conjunction with Wager Races in the original game but it can be used anywhere. Just note that outside of these missions, timers will flash red below 10 seconds even if they're counting up.

Donut Team © 2020 · v4.0