Osiris/API/TimerLaunch

From Divinity Engine Wiki
Revision as of 17:18, 19 December 2017 by Tinkerer (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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