WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   AddOn Search/Requests (https://www.wowinterface.com/forums/forumdisplay.php?f=6)
-   -   Blizzard combatlog frame (https://www.wowinterface.com/forums/showthread.php?t=29604)

ffxiedyn 12-27-09 05:36 PM

Blizzard combatlog frame
 
Is there a way to hide the Blizzard CombatLog when in a group?

ffxiedyn 12-30-09 06:47 PM

Bumping for anyone who may know of an addon or a way to hide the blizzard combat log while in a group.

Thanks.

zero-kill 12-30-09 10:05 PM

Switch to General?

Akryn 12-30-09 10:16 PM

Quote:

Originally Posted by ffxiedyn (Post 172184)
Is there a way to hide the Blizzard CombatLog when in a group?

Could you be more specific? The best guess I can come up with is that you have the combat log undocked from the other chat tabs, and off somewhere by itself, and you want it to only show up when you're solo?

If that's correct then yes you can do that; although I'm not aware of an addon specifically intended for that purpose.

ffxiedyn 12-31-09 09:29 AM

Quote:

Originally Posted by Akryn (Post 172635)
Could you be more specific? The best guess I can come up with is that you have the combat log undocked from the other chat tabs, and off somewhere by itself, and you want it to only show up when you're solo?

If that's correct then yes you can do that; although I'm not aware of an addon specifically intended for that purpose.

Yes, this is it precisely, sorry for my vagueness.

I use Chatter as well, and have the combat log positioned over a KGpanel to the bottom right of my screen.

I also use the same panel as a background to my Grid, which is configured to show up when in a group.

However, Chatter does not have an option to make the combat log frame fade out when in a group.

Do you know of a way I can accomplish this?

Thanks.

ffxiedyn 12-31-09 09:39 AM

Sorry, replied to a post, but the post seems to have been removed.

Seerah 12-31-09 12:00 PM

Yeah, sorry. :) I gave you some code for the wrong thing because I wasn't awake yet. :) Then I forgot to come back to you. :p

What you want is this script for your kgPanel: http://www.wowace.com/addons/kg-pane...r-5-main-party

But instead of self:Hide() and self:Show(), you'll use ChatFrame2:Hide() and ChatFrame2:Show(). At least that should work for you. :)

ffxiedyn 12-31-09 01:31 PM

Thanks, this script will hide just the blizzard combat log frame, and not my KGpanel, correct?

I use the panel as a background graphic, and I do not want it hidden.

Taryble 12-31-09 01:51 PM

The change Seerah said to use causes the frame named "ChatFrame2" to hide while in combat, and be shown out of combat. "ChatFrame2" is the Combat Log, without exception (that I'm aware of). :)

Polarina 12-31-09 01:55 PM

Quote:

Originally Posted by Taryble (Post 172754)
The change Seerah said to use causes the frame named "ChatFrame2" to hide while in combat, and be shown out of combat. "ChatFrame2" is the Combat Log, without exception (that I'm aware of). :)

I'd rather use COMBATLOG instead of ChatFrame2.

ffxiedyn 12-31-09 05:56 PM

The only "Script" portion of the kgpanels addon that I can find is under "default panels"

I copy/pasted your text, seerah, as well as tried to use COMBATLOG after ChatFrame2 had no effect.

Anyone know what I am doing wrong?

My combat log does not hide when I join a group.

MoonWitch 12-31-09 09:26 PM

Quote:

Originally Posted by ffxiedyn (Post 172793)
My combat log does not hide when I join a group.

Well that's because the script Seerah provided you with isn't supposed to hide when you join a group, but when you engage in combat.

Akryn 01-01-10 12:06 AM

Quote:

Originally Posted by MoonWitch (Post 172804)
Well that's because the script Seerah provided you with isn't supposed to hide when you join a group, but when you engage in combat.

That link points to code that will show a frame in a raid. Just follow the directions on the page, noting the change to make it hide when not solo:

Quote:

In each Panel set the OnLoad script

lua Code:
  1. self:RegisterEvent("PLAYER_ENTERING_WORLD")
  2. self:RegisterEvent("PARTY_MEMBERS_CHANGED")
  3. self:RegisterEvent("RAID_ROSTER_UPDATE")

Then in each Panel OnEvent script:
lua Code:
  1. if GetNumPartyMembers() < 1 then
  2.     ChatFrame2:Show()
  3. else
  4.     ChatFrame2:Hide()
  5. end


ffxiedyn 01-01-10 07:52 AM

NVM, i have totally figured it out, thanks for all the help!

ffxiedyn 01-03-10 04:31 PM

Akryn, your code worked well for a 5man grp, my combat log hides when i join a 5man grp.

do you possibly know a way i could also make it hide when i join a raid grp?

the code provided by seerah's link doesn't make it hide on either event.

thanks.

Akryn 01-03-10 04:48 PM

Quote:

Originally Posted by ffxiedyn (Post 173162)
do you possibly know a way i could also make it hide when i join a raid grp?

Replace the first line with:

if GetNumPartyMembers() + GetNumRaidMembers() < 1 then

ffxiedyn 01-04-10 04:20 AM

thanks akryn, worked like a charm.

having an issue tho, sometimes my combat log re-docks itself to my chat frame after i leave a 5man or raid.

anyone know how to make this stop?

thanks.

ffxiedyn 01-06-10 12:16 PM

Bumping for anyone who may know a way to keep the combat log from re-docking to the chat log after i leave grp/raid.

thanks.

Akryn 01-06-10 05:49 PM

Quote:

Originally Posted by ffxiedyn (Post 173530)
Bumping for anyone who may know a way to keep the combat log from re-docking to the chat log after i leave grp/raid.

thanks.

Perhaps you can edit your OnLoad code to do so, although I haven't tried it (I'm not really sure how the docking is implemented):

lua Code:
  1. self:RegisterEvent("PLAYER_ENTERING_WORLD")
  2. self:RegisterEvent("PARTY_MEMBERS_CHANGED")
  3. self:RegisterEvent("RAID_ROSTER_UPDATE")
  4. local dummyF = function()end
  5. ChatFrame2.ClearAllPoints = dummyF
  6. ChatFrame2.SetPoint = dummyF
  7. ChatFrame2.SetHeight = dummyF
  8. ChatFrame2.SetWidth = dummyF
  9. ChatFrame2.SetAllPoints = dummyF

ffxiedyn 01-06-10 06:54 PM

i used this script for my target panel, yet the target frame (not the panel its on) still shows even when im out of combat.

Show a panel based on being in combat

OnLoad

self:RegisterEvent("PLAYER_REGEN_DISABLED")
self:RegisterEvent("PLAYER_REGEN_ENABLED")

OnEvent

if event == "PLAYER_REGEN_ENABLED" then
self:Hide()
elseif event == "PLAYER_REGEN_DISABLED" then
self:Show()
end


anyone know a way to make it show only when in combat, as well as my player frame?

thanks


All times are GMT -6. The time now is 10:32 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI