Advertisement
Farrier

ESO SetColor Lua

Mar 19th, 2024
17
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 49.50 KB | None | 0 0
  1. FarrierDots = {}
  2. FarrierDots.name = "FarrierDots"
  3. FarrierDots.version = "v1.0.0"
  4.  
  5. local function FarrierDots_Initialize(eventCode, addOnName)
  6.     if (addOnName == FarrierDots.name) then
  7.         EVENT_MANAGER:UnregisterForEvent(FarrierDots.name .. "_ADDON_LOADED", EVENT_ADD_ON_LOADED)
  8.  
  9.         --Set anchor position
  10.         FarrierDotsUi:ClearAnchors()
  11.         FarrierDotsUi:SetAnchor(TOPLEFT, GuiRoot, nil, 0, 0)
  12.         d("FarrierDots initialized")
  13.  
  14.         -- Set all the dots.
  15. -- Initialize event callbacks. Must be below the fns they call.
  16. EVENT_MANAGER:RegisterForEvent(FarrierDots.name .. "_ADDON_LOADED", EVENT_ADD_ON_LOADED, FarrierDots_Initialize)
  17.  
Tags: bug
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement