Thread: ROTH UI

  1. #1

    ROTH UI

    I have used Roth UI for a while now, but i always have questions about it.
    Apparently, after reading through a couple pages in the "ask It" sticky, most others who use roth have questions too.

    my question is: how do i remove the party frames? what lines do i comment out, if it can be done at all?

    i'm not entirely sure where this question belongs, i posted it in the "ask it" thread, but got no response, which is reasonable because there are soo many pages to look through.

    but any help is appreciated..

  2. #2
    Scarab Lord
    15+ Year Old Account
    Join Date
    Aug 2008
    Location
    Texas
    Posts
    4,040

    Re: ROTH UI

    Didn't answer because I'd just answered two other questions involving Roth, and at first I thought you were being a crank and ignoring those.

    I just realized that I'd answered questions involving the Raid and Target frames, not the Party frames.

    Open up the file Interface\Addons\oUF_D3Orbs\oUF_D3Orbs.lua, jump down to line 1336, and put "--" in front of the following lines:
    Code:
     local oUF_D3Orbs_PartyDragFrame = CreateFrame("Frame","oUF_D3Orbs_PartyDragFrame",UIParent)
     oUF_D3Orbs_PartyDragFrame:SetWidth(80)
     oUF_D3Orbs_PartyDragFrame:SetHeight(100)
     if lock_all_frames == 0 then
      oUF_D3Orbs_PartyDragFrame:SetBackdrop({bgFile = "Interface/Tooltips/UI-Tooltip-Background", edgeFile = "", tile = true, tileSize = 16, edgeSize = 16, insets = { left = 0, right = 0, top = 0, bottom = 0 }})
     end
     oUF_D3Orbs_PartyDragFrame:SetPoint(tabvalues.frame_positions[7].a1, tabvalues.frame_positions[7].af, tabvalues.frame_positions[7].a2, tabvalues.frame_positions[7].x, tabvalues.frame_positions[7].y)
     make_me_movable(oUF_D3Orbs_PartyDragFrame)
     
     local party = oUF:Spawn("header", "oUF_Party")
     party:SetPoint("TOPLEFT",oUF_D3Orbs_PartyDragFrame,"TOPLEFT",13,60)
     party:SetManyAttributes("showParty", true, "xOffset", 80, "point", "LEFT", "showPlayer", true)
     party:SetAttribute("showRaid", false)
     party:Show()
    This will "comment out" those lines, which will means that WoW skips them when reading the addon, which means that the party frames will never be created. This, however, may cause some lua errors to be thrown, because this is a "quick and dirty" fix.

  3. #3

    Re: ROTH UI

    thanks a ton, i'll give it a try now and see what happens!

Posting Permissions

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