1. #1

    Question Shadow Orb Frame Script

    If someone familiar with LUA can help me here, that'd be great.

    I wrote a script to move and resize my shadow orbs http://i.imgur.com/Jx6VQGa.jpg
    Is there a way to hide the frame around the orbs ???

    Here's the code I'm using:
    Code:
    local powerbar = true
    if powerbar == true then
    if UnitClass("player") == "Priest" then
    f = CreateFrame("Frame", "FakePlayerFrame");
    f.unit = "player";
    PriestBarFrame:SetParent(FakePlayerFrame);
    PriestBarFrame_OnLoad(PriestBarFrame);
    PriestBarFrame:ClearAllPoints();
    PriestBarFrame:SetPoint("CENTER", "UIParent", "CENTER", 2, -200);
    PriestBarFrame:SetScale(1);
    PriestBarFrame:Show();
    end
    end

    Thanks !

  2. #2
    http://www.townlong-yak.com/framexml...estBar.xml#106

    2 ways to do it (there may be more):

    1.
    Code:
    (PriestBarFrame:GetRegions()):Hide()
    2.
    Code:
    PriestBarFrame:DisableDrawLayer("BACKGROUND")

  3. #3
    Thanks I used the 2nd one, worked perfectly )

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •