• 0

    posted a message on Looking to mute sound with LUA
    God I love WowAce, most intelligent WoW community in existence.
    Posted in: Lua Code Discussion
  • 0

    posted a message on Looking to mute sound with LUA
    Very cool, I'll give that a shot. Thanks much.
    Posted in: Lua Code Discussion
  • 0

    posted a message on Looking to mute sound with LUA
    I don't think I'm understanding you correctly. Are you saying that I can add an empty sound file to the MPQ file directory I listed? If so, I'm afraid I'm not sure how. I'm currently using Ladik's software, and it seems to only operate as read-only.
    Posted in: Lua Code Discussion
  • 0

    posted a message on Looking to mute sound with LUA
    I'm looking to mute a creature sound, specifically:
    Sound\Creature\WaterElemental\WaterElementalLoop.ogg


    Is this possible to accomplish with LUA script? My attempts to physically edit sound.MPQ have failed. :(
    Posted in: Lua Code Discussion
  • 0

    posted a message on PitBull 4.0
    Perfect, thanks Zarin1480.
    Any idea how I can splice your code with the default class color code?
    local r,g,b = ClassColor(unit)
    return '|cff%02x%02x%02x%s|r %s%s%s',r,g,b,Name(unit),Angle(AFK(unit) or DND(unit))
    Posted in: Unit Frames
  • 0

    posted a message on PitBull 4.0
    Quick configuration question:
    I'd like to abbreviate name text; here's a... graphical elaboration:


    I think I've seen it done elsewhere, any help is appreciated. :)
    Posted in: Unit Frames
  • 0

    posted a message on Showing hidden frames...
    That doesn't appear to work if I'm outside of arenas, or don't have any debuffs.
    It returns this error:
    Message: [string "DebuffButton1:Show()"]:1: attempt to index global 'DebuffButton1' (a nil value)
    Time: 11/21/09 20:51:13
    Count: 1
    Stack: [string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:18: in function <[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:4>
    [C]: ?
    [string "DebuffButton1:Show()"]:1: in main chunk
    [C]: in function `RunScript'
    Interface\FrameXML\ChatFrame.lua:1879: in function `value'
    Interface\FrameXML\ChatFrame.lua:3529: in function `ChatEdit_ParseText'
    Interface\FrameXML\ChatFrame.lua:3177: in function `ChatEdit_SendText'
    Interface\FrameXML\ChatFrame.lua:3201: in function `ChatEdit_OnEnterPressed'
    [string "*:OnEnterPressed"]:1: in function <[string "*:OnEnterPressed"]:1>
    
    Locals: (*temporary) = nil
    (*temporary) = nil
    (*temporary) = "attempt to index global 'DebuffButton1' (a nil value)"


    I'm pretty sure the frame names are correct as commands like:
    /run local f=DebuffButton1; f:ClearAllPoints(); f:SetPoint("BOTTOM", nil, "BOTTOM", -40, 150);
    will work when the debuff frame is visible.
    Posted in: Lua Code Discussion
  • 0

    posted a message on Showing hidden frames...
    Well I guess I should have referred to these as "Conditionally visible" frames, as they only show up when a condition is met... not just toggled on and off at the user's discretion like some frames.
    Posted in: Lua Code Discussion
  • 0

    posted a message on Showing hidden frames...
    I'm looking for a way to show the ArenaEnemyFrame1 and the DebuffButton1 when they normally should be hidden. (Outside the arena and with no debuffs) Is this possible?
    Posted in: Lua Code Discussion
  • 0

    posted a message on Name of the default cast bar?
    Thanks again :)
    Posted in: Lua Code Discussion
  • 0

    posted a message on Name of the default cast bar?
    I'm wondering if anyone knows the name of Blizzard's default player cast bar off the top of their head.
    I ask because my typical method of identifying frames doesn't seem to work with this particular element.

    [HTML]/run ChatFrame1:AddMessage(GetMouseFocus():GetName())[/HTML]
    If you can't recall the name, are there any alternative methods of identifying frames that might work with this cast bar frame?
    Posted in: Lua Code Discussion
  • 0

    posted a message on Moving ArenaEnemyFrame1 issue
    Works perfectly, thanks guys. :D

    Finish product for my complete custom frame arrangement:
    /console uiscale 1.0
    /run local f=ArenaEnemyFrame1; f:ClearAllPoints(); f:SetPoint("CENTER", nil, "CENTER", 282.723, 54.168)
    /run local f=FocusFrame; f:ClearAllPoints(); f:SetPoint("CENTER", nil, "CENTER", -307, 0)
    /run local f=PlayerFrame; f:ClearAllPoints(); f:SetPoint("BOTTOM", nil, "BOTTOM", -137, 152)
    /run local f=TargetFrame; f:ClearAllPoints(); f:SetPoint("BOTTOM", nil, "BOTTOM", 137, 152)


    Anytime I change systems all I have to do is execute these quick macros and I'm good to go. Assuming I can run the same resolution I guess. :rolleyes:
    Posted in: Lua Code Discussion
  • 0

    posted a message on Moving ArenaEnemyFrame1 issue
    Thank you for the replies.
    I think SetPoint will work nicely since I can't avoid the position reset.
    One last question though, is there any sort of getLocation() function I can use to return the screen coordinates once I position the frame where I want it?
    If there is please include the proper syntax as I'm a noob. :D
    Posted in: Lua Code Discussion
  • 0

    posted a message on Moving ArenaEnemyFrame1 issue
    Hello,
    I'm trying to move the default arena frame via scripts [without addons] and I'm having a few issues.
    The method I'm currently using is working on my Player, and Target frames. However when I attempt to use it on ArenaEnemyFrame1 the frame will reset it's position every time the UI reloads.

    Current method of moving default frames with script commands:
    /run local f=ArenaEnemyFrame1; f:SetUserPlaced(true) f:SetMovable(true) f:EnableMouse(true) f:RegisterForDrag ("LeftButton") f:SetScript("OnDragStart",f.StartMoving)f:SetScript("OnDragStop",f.StopMovingOrSizing)


    Does anyone know how to keep the ArenaEnemyFrame1 from resetting it's position each time the UI is reloaded? Or perhaps an alternative method of relocating the frame without the use of addons.

    Even a command to relocate FRAME to (x, y) coordinates would suffice if it's not possible to avoid the ArenaEnemyFrame position reset. At least that would keep me from having to eyeball the correct position each time the UI reloads.

    (I believe need to accomplish this frame relocation without addons in order to abide by ELS and MLG WoW tournament regulations.)
    Posted in: Lua Code Discussion
  • 0

    posted a message on Need help, something ace conflicting with the ALOFT addon.
    Ah, thank you sir!
    Posted in: AddOn HELP!
  • To post a comment, please or register a new account.