api/plugins/timers/Timers
Callback:Timer(event, ID, Duration, Text, _Anchor, ...)
Starts a timer with the given duration and text
Parameters
- event
- ID
- Unique ID to identify this timer
- Duration
- Duration of the timer in seconds
- Text
- Text to display on the timer
- _Anchor
- Optional param to control what anchor the timer should appear on
- ...
Callback:TimerSpell(event, ID, Duration, Spell, _Anchor)
Start a timer for a specific spell
Parameters
- event
- ID
- Unique ID to identify this timer
- Duration
- Duration of the timer in seconds
- Spell
- The spell to take the icon and text from
- _Anchor
- Optional param to control what anchor the timer should appear on
Callback:TimerStop(event, ID)
Stop a timer
Parameters
- event
- ID
- The unique ID of the timer to stop
Comments