• Dear Guest,

    You're browsing our forum as a Guest meaning you can only see a portion of the forum in read-only mode.
    To view all forum nodes and be able to create threads/posts please register or log-in with your existing account.

    TwinStar team

LazyPig "battlefield panel" HELP!

lanevegame

Authorized
Joined
Jun 18, 2015
[SOLVED] LazyPig "battlefield panel" HELP!

Hello, I have a problem with this amazing addon LazyPig. When I target myself and push shift key for like 4 seconds then a battlefield panel appears on the left of the screen. This is kinda annoying for my binds, does anyone know how to disable this feature?

lp-bug-k.jpg


Thanks to Thonik! :muck:

Open up the LazyPig.lua file in your addons and search for BattlefieldFrame:Show() ( line# 233 in my version ) and add a double dash in front of it like so:

Code:
    if shift_time == current_time  then    
        if not (UnitExists("target") and UnitIsUnit("player", "target")) then
            --
        elseif not battleframe then
            battleframe = current_time
        elseif (current_time - battleframe) > 3 then
            -- BattlefieldFrame:Show()
            battleframe = current_time
        end
    elseif battleframe then

Then reload your UI.
 
Last edited:
WOW I just tested it, works for me as well. Just put on auto self cast I guess (interface options)
 
Nope, only if you have yourself targeted... Well stop holding down shift for 4 secs then! :rolleyes2:
 
Last edited:
Open up the LazyPig.lua file in your addons and search for BattlefieldFrame:Show() ( line# 233 in my version ) and add a double dash in front of it like so:

Code:
    if shift_time == current_time  then    
        if not (UnitExists("target") and UnitIsUnit("player", "target")) then
            --
        elseif not battleframe then
            battleframe = current_time
        elseif (current_time - battleframe) > 3 then
            -- BattlefieldFrame:Show()
            battleframe = current_time
        end
    elseif battleframe then

Then reload your UI.
 
Open up the LazyPig.lua file in your addons and search for BattlefieldFrame:Show() ( line# 233 in my version ) and add a double dash in front of it like so:

Code:
    if shift_time == current_time  then    
        if not (UnitExists("target") and UnitIsUnit("player", "target")) then
            --
        elseif not battleframe then
            battleframe = current_time
        elseif (current_time - battleframe) > 3 then
            -- BattlefieldFrame:Show()
            battleframe = current_time
        end
    elseif battleframe then

Then reload your UI.

It... IT WORKS!!!!!!!!!!!!!!

DUUUDEEEE THANKS SO MUCH!!!!! +1 +1 +1 +1 +1

You made my life better :crazy::crazy::crazy::crazy::crazy::crazy:

Still sad life, but better!
 
Top Bottom