Quantcast C timer help - WoWInterface
Thread Tools Display Modes
10-12-19, 09:22 AM   #1
lodwsie
A Kobold Labourer
Join Date: Oct 2019
Posts: 1
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.
  Reply With Quote
10-12-19, 01:18 PM   #2
jeruku
A Cobalt Mageweaver
 
jeruku's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2010
Posts: 201
Easiest solution is to use C_Timer.After.

Lua Code:
  1. C_Timer.After(30, function()
  2.      --Hide your frame.
  3. end)
__________________
"I have not failed, I simply found 10,000 ways that did not work." - Thomas Edison
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » C timer help

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off