Kgpanels script:hide panel permanent after click
Hi guys,i have a script for kgpanels wich alows me to click on a panel (button) and 3 new buttons appear where u can choose the set up u want from my UI.
U will be able to choose from : DPS,Cancel and Healing (3 buttons) My question is,is it possible to let Kgpanels load this script automaticly (instead of click) on your first visit in the gameworld on your main and afterwards an alt. But once one of the 3 buttons is pressed,they shouldnt load or pop up anymore when u enter the gameworld again on that toon. I just wanna know if this is possible with Kgpanels. |
***Fixed***
|
In order to do something like that, you'd need some saved variables to carry over between sessions on a per-character basis.
kgPanels DOES have a saved table called kgPanelsDB. It wouldn't be too hard to add your own fields to that table and then override some event in a panel to retrieve the part of kgPanelsDB you're using to store that information. Unfortunately, kgPanelsDB is a per-account variable (not a per-character variable), so you'd have to explicitly store each character's name as the first-run message is disabled for each of them. Though, seriously, with stuff like that, why not just make your own addon? Then you could store data per character or however else you'd like. http://www.wowpedia.org/Saving_varia..._game_sessions might give you some ideas of how to set that up. |
Thnx m8 but i allready have it fixed atm :) Just tweaking my interface for the last bits and its ready for upload.
Ty very much tho. |
Quote:
|
True,soz hehe.
Just wanted the community to know i didn t need help with it anymore. So they wouldn t spend effort and time on something not needed anymore. |
You still didn't share with the community. :p
We turned it into a custom addon that disables itself for that character once it's been used. |
Quote:
|
I will later on when my ui is finished and when i ve tested everything on all classes,in group/raid/solo.
|
My head hurts, now.
|
Quote:
|
All times are GMT -6. The time now is 08:24 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI