|
09-17-12, 11:14 AM | #1 |
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 it would be pretty cool if some can edit my settings, i would send you the profil^^ |
|
09-17-12, 01:28 PM | #2 |
Feel free to pm me your saved variables for both kgPanels and Skada. Ill help you out
|
|
09-17-12, 07:15 PM | #3 |
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.
__________________
Retired author of too many addons. Message me if you're interested in taking over one of my addons. Don’t message me about addon bugs or programming questions. |
|
09-17-12, 08:28 PM | #4 | ||
Last edited by suicidalkatt : 09-17-12 at 08:34 PM. |
|||
09-18-12, 02:28 AM | #5 |
Final product
* 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! Last edited by suicidalkatt : 09-18-12 at 02:34 AM. |
|
09-18-12, 04:08 AM | #6 |
Thank you very much, it works great.
|
|
11-10-14, 04:02 AM | #7 |
Thanks guys,
even if I only understand a quarter of the what you have written. Here again summarized as my scripts in KGPanels are registered. I hope the "OnEvent" script is in the right place. EDIT: I made malygos and see that there is a UI like in Ulduar (1 Boss) oder the PetBattle UI. Is this the right ones for the Event? VEHICLE_ANGLE_SHOW PET_BATTLE_OPENING_START So that the UI is disabled when i´m in a vihicle or in petbattle 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:
OnLoad -- Register appropriate events and do an initial check OnLoad. Lua Code:
OnEvent -- Do checks Lua Code:
OnClick -- Show or hide frames and play sound. Should CTRL be held, reset instead Lua Code:
Button labeled as 'Chat' ...which is intended to toggle the chat windows.If i replaced this: Lua Code:
with this one Lua Code:
but should fix my problem with the chat window to sensitive, right? So that the Chat is only to see when i´m resting? OnLoad Lua Code:
OnEvent Lua Code:
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:
OnEvent Lua Code:
Last edited by BabyRay : 11-10-14 at 09:05 AM. |
|
WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » KGPanels script |
«
Previous Thread
|
Next Thread
»
|
Display Modes |
Switch to Linear Mode |
Hybrid Mode |
Switch to Threaded Mode |
|
|