WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Lua/XML Help (https://www.wowinterface.com/forums/forumdisplay.php?f=16)
-   -   C timer help (https://www.wowinterface.com/forums/showthread.php?t=57598)

lodwsie 10-12-19 09:22 AM

C timer help
 
Hello i was wondering if anyone can show me how to make a timer. I have a frame that opens but then i want this frame to auto close/hide after 30 sec.

jeruku 10-12-19 01:18 PM

Easiest solution is to use C_Timer.After.

Lua Code:
  1. C_Timer.After(30, function()
  2.      --Hide your frame.
  3. end)


All times are GMT -6. The time now is 09:25 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI