View Single Post
07-29-18, 09:08 PM   #8
Tim
A Rage Talon Dragon Guard
 
Tim's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2008
Posts: 309
You could add a timer and have it call your function after a certain duration.

Code:
F:SetScript("OnEvent", function(_, event)

   if (event == "PLAYER_ENTERING_WORLD") then
      C_Timer.After(5, updateStatus)
   end

end)
__________________
AddOns: Tim @ WoWInterface
Battle Tag: Mysterio#11164
Current PC Setup: PCPartPicker List
  Reply With Quote