Thread Tools Display Modes
01-27-19, 03:32 PM   #1
Daarc
A Defias Bandit
Join Date: Feb 2018
Posts: 2
Override Action Bar Issue

Hello, I'm writing an addon(basically bunch of scripts turned into an addon) which moves right action bars to middle, hides MainMenuBar textures and repositions MainMenuBar. Everything is working but when I enter and exit VehicleUI(e.g. DH's Rain from Above PvP talent) all my keybind texts, cd texts are disappearing. When I reload everything turns back to normal again. I have zero experience in LUA and WoW API aside from editing addons, I'm learning as I go so be gentle. Here is the code;
Code:
MainMenuBarArtFrameBackground:Hide()
ActionBarUpButton:Hide()
ActionBarDownButton:Hide()
MainMenuBarArtFrame.LeftEndCap:Hide()
MainMenuBarArtFrame.RightEndCap:Hide()
MainMenuBarArtFrame.PageNumber:Hide()
StatusTrackingBarManager:Hide()     

MainMenuBar:ClearAllPoints()
MainMenuBar:SetPoint("CENTER", UIParent, "CENTER", 18, -510)
MainMenuBar.SetPoint = function() end
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Override Action Bar Issue


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