Osiris/API/TimerLaunch

From Divinity Engine Wiki
Jump to: navigation, search
Full Definition(s)
  • call TimerLaunch((STRING)_Timer, (INTEGER)_Time)
Description

Starts a timer that will throw a TimerFinished event with the identifier _Timer after at least _Time milliseconds.

Notes
  • The timer runs in "real game time". This means the number of milliseconds you specify will count in real time (wall clock time) while the game state is active.
  • Only a single timer with a particular (event) name can be active at the same time. If you launch a timer with the same event name as an active one, the new timer will be ignored.
  • Timers are saved to and restored from savegames.
See Also