KGPanels script
Hello together,
can someone help me with some kgpanels scripts? i want that the "skada panels" only shown infight in group/raid. than i want when i klick on "DPS/HPS" that the "skada panels" manually shown and hide. and when i klick on "chat" that the both chat windows shown and hide. the"show" and the "hide" button shoud show and hide all panels but that optional :D it would be pretty cool if some can edit my settings, i would send you the profil^^ |
Quote:
|
You should really just post your saved variables on the forums, and post solutions on the forums. The whole point of a forum is that questions and answers benefit everyone. If you take questions and answers to PMs, then they are not helping anyone but the original poster, and anyone with a similar question in the future has to spend their time asking the same question, and you or someone else has to spend time giving them the same answer.
|
Quote:
Quote:
|
Final product
1 Attachment(s)
* Double Post *
So, few things I want to point out about the layout:
Import text attached! There are 4 buttons involved and I'll be discussing each: Button labeled as 'DPS' ...which is intended to toggle the Skada windows has a few key features implemented.Scripts Dependency -- This will disable / remove this button should Skada not be enabled. Lua Code:
Lua Code:
Lua Code:
Lua Code:
Button labeled as 'Chat' ...which is intended to toggle the chat windows.OnClick -- Only specific frames are toggled. I had to reparent the kgpanels 'Chatframe_links' to the absolute center of ChatFrame1 and 'Chatframe_rechts' to the absolute center of ChatFrame3. Lua Code:
Button labeled as 'Show' ...which is intended to show the chat and Skada windows.OnClick -- Lua Code:
Button labeled as 'Hide' ...which is intended to hide the chat and Skada windows.OnClick -- Lua Code:
If you have any questions about my script please feel free to post! |
Thank you very much, it works great. :banana:
|
FYI:
Code:
if IsInRaid() or IsInGroup() then |
Quote:
|
Quote:
|
Well, that and it's an extra function call that you don't need. ;) It will be 0.000001 seconds faster if you eliminate it. :D
|
Hello,
i have a small problem. the show and hide function from skada doesn´t work right. sometimes i log in and the panels are hidden <- thats right and sometimes they are shown. and is it right that i cant find anything in the script function? maybe i´m stupid :D I delete KGPanels and reinstall it, then inport the profil, but the problem still there. |
Quote:
|
ok, now it work.
i delete kgpanels again incl. settings and reinstall it. import your settings and now it work. while questing i love the clean without chat. :D is it possible that the chat works like the skada windows? only in group/raid and in cities? |
Quote:
|
Well since no one could assist!!
Button labeled as 'Chat' ...which is intended to toggle the chat windows, and now to hide while resting.OnLoad -- Set proper Events and do initial check. Lua Code:
OnEvent -- Do Checks Lua Code:
OnClick -- Lua Code:
|
Thank you suicidalkatt again.
i think something is wrong :D i hate my bad english nobody understand me :D want to see my chat windows only in group/raid and in /major cities/cities But now its hidden when i´m in a city. do i something wrong?^^ |
Quote:
Here... Button labeled as 'Chat' ...which is intended to toggle the chat windows, and now to show while resting and while in raid or group.OnLoad -- Set proper Events and do initial check. Lua Code:
OnEvent -- Do Checks Lua Code:
OnClick -- Lua Code:
|
The only event you need to register for is PLAYER_UPDATE_RESTING. You will probably catch changes in the rest state by listening for all of those other events, but it would be simpler and more efficient to just listen for the one event that fires specifically to notify you of such changes...
|
Quote:
|
You have helped me so far so good but once or twice I have to ask you again for help.
1. Is there a possibility that hides the chat window and skada window when I am standing at a dealer or in the bank? 2. Is there a possibility that respond to the chat window is not quite as sensitive? I run through Nagrand and during running about changes zone name and my chat window disappears while I just wanted to write something. Maybe it is only on for an entire zone change. Nagrand -> Talador not within the individual areas? self: Register Event ("ZONE_CHANGED") self: Register Event ("ZONE_CHANGED_NEW_AREA") self: Register Event ("ZONE_CHANGED_INDOORS") self: Register Event ("PLAYER_ENTERING_WORLD") self: Register Event ("GROUP_ROSTER_UPDATE") Maybe about the event of Phanx? self: Register Event ("PLAYER_UPDATE_RESTING") So just replace the top events through the bottom? |
All times are GMT -6. The time now is 04:15 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI