1. #1

    Creating addon - Remove raidframe manager

    Dear MMO members,

    I'm annoyed by the raid frame manager and I'd like to see it removed. Problem is, I don't know how.
    I have a macro to do this:
    Code:
    /run CompactRaidFrameManager:UnregisterAllEvents() 
    CompactRaidFrameManager:Hide()
    CompactRaidFrameContainer:UnregisterAllEvents() 
    CompactRaidFrameContainer:Hide()
    Problem with this is, I have to click it every time I enter the game. So I figured, I make an addon that does the same. I have no idea how though :*(.
    I followed a guide that told me to make a directory in the interface folder.

    I named it RaidFrameManager. In that folder I created 2 files, 1 called RaidFrameManager.lua and 1 called RaidFrameManager.toc.

    The Toc file contains the following code:
    Code:
    ## Interface: 50001
    ## Title: RaidframeManager
    RaidframeManager.lua
    The Lua file contains this:
    Code:
    CompactRaidFrameManager:UnregisterAllEvents() 
    CompactRaidFrameManager:Hide() 
    CompactRaidFrameContainer:UnregisterAllEvents() 
    CompactRaidFrameContainer:Hide()
    This looks very pro and all, but it doesn't work. Any suggestions?

    [Edit]The addon on curse that should do the same doesn't work either, since I started this mini-project I'd like to finish it on my own as well, trying to learn something

  2. #2
    RaidframeManager.lua
    You called the file "RaidFrameManager.lua" according to your post. Not sure if it's even case sensitive, but that's a start.
    UI & AddOns expert | Interface & Macros moderator - My work

  3. #3
    You can disable them permanently with this:

    /run DisableAddOn("Blizzard_CUFProfiles")
    /run DisableAddOn("Blizzard_CompactRaidFrames")

    Same as unticking them from the addon list on the login screen(if they were shown there). Doesn't even need to be repeated (unless a patch maybe re-enables them).

  4. #4
    I'm also pretty sure there's another addon out there for this.

  5. #5
    Quote Originally Posted by Revvo View Post
    I'm also pretty sure there's another addon out there for this.
    I know there is, but I wanted to see if I could code on myself just for learning

    ---------- Post added 2012-12-10 at 08:50 PM ----------

    Quote Originally Posted by Treeston View Post
    You called the file "RaidFrameManager.lua" according to your post. Not sure if it's even case sensitive, but that's a start.
    Ah, I know, I called the files RemoveRaidframeManager and forget the Remove part in the lua file, I added it and now it works like a charm! Woohoo!

Posting Permissions

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