world.ResetTimers
Resets all timers
Prototype
void ResetTimers();
Description
Resets all timers for the world. There is no return value.
This function will reset all periodic timers to fire from the appropriate interval from when the "ResetTimers" was done.
WARNING - timers that are not enabled will not be reset. Use EnableTimer first to make sure that timers are enabled, before resetting them, if necessary.
VBscript example
world.ResetTimers
Jscript example
world.ResetTimers();
PerlScript example
$world->ResetTimers();
Python example
world.ResetTimers
Lua example
ResetTimers()
Return value
Nothing.
Related topic
See also
| Function | Description |
|---|---|
| AddTimer | Adds a timer |
| DeleteTimer | Deletes a timer |
| EnableTimer | Enables or disables an timer |
| GetTimer | Gets details about a timer |
| GetTimerInfo | Gets details about a timer |
| GetTimerList | Gets the list of timers |
| IsTimer | Tests to see if a timer exists |
| ResetTimer | Resets a named timer |