Frictional Games Forum (read-only)

Full Version: Repeat timer
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello peoples,

How could I get a timer to repeat?

-X4anco
Just call the timer inside itself.

void TimerTest (string &in asTimer)
{
AddTimer("", 1.0, "TimerTest");
}
How would I make it stop after so many times?
RemoveTimer() and a local variable?
Ah thank-you Big Grin