Creates and starts a timer that calls 'callback' after 'duration' seconds.. The timer resolution will only be correct after the character is fully in the game, due to the underlying mechanism being tied to frame draws.

See also Utility functions.


C_Timer.After(duration, callback)


  • duration - Seconds before the timer completes (number)
  • callback - What you want to execute when the timer's duration has elapsed (function)


C_Timer.After(7, function() print("Hello World") end)