|
04-07-12, 06:50 PM | #1 |
nibProfileLoader
Im currently trying to set up a UI that has two totally different layouts for a tank and a healer. What I have used so far is Reflux and nibprofileloader. What I want to see if I can do is rework nibprofileloader to instead of asking this.....
New Character detected. Would you like to load profile xxxx? --- Yes --- --- No ---- I want it two have different answers like this.. Thanks for using xxxx UI. Please select a UI layout from options below. ---Tank --- --- Healer --- Basically what nib does is if you press YES it will load a predetermined profile and if you press no it cancels out and closes the window. What I need it to do is where the Yes button is will load a tank profile and where No button is load Heal profile. Hope someone understands this and can help!!
__________________
“Do not go where the path may lead, go instead where there is no path -- and leave a trail.” |
|
04-07-12, 08:52 PM | #2 |
I've never heard of nibProfileLoader, but you could probably write something like that very easily for Reflux. You would need to read a list of Reflux profiles, and add a button for each one.
If you want more specific help, you will need to post your code and describe what you want to change, and what you have already tried. |
|
04-07-12, 10:10 PM | #3 |
Here is the code from the addon I am using. I want an option to load two different profiles instead of just one. Right now the choices are load one profile or exit with the No button. Just a Yes or No button is currently there and I want like I descirbed in original post..
Lua Code:
__________________
“Do not go where the path may lead, go instead where there is no path -- and leave a trail.” |
|
04-08-12, 05:58 AM | #4 |
This should work for you, not tested as I dont use reflux or nibProfileLoader.
Lua Code:
|
|
04-08-12, 03:44 PM | #5 |
Oh sweet I will try this ASAP. The problem I have is I dont know how to code and did not know how the buttons worked. Couldnt figure that part out. Ill see how this goes and will let you know.
__________________
“Do not go where the path may lead, go instead where there is no path -- and leave a trail.” |
|
04-08-12, 03:57 PM | #6 |
Ok I tried this modification and it does not do anything. After selecting Tank or Heal the window cancels and nothing happens. No profile switch or reloadui. Trying to see what I can find out. Im not getting any errors or anything. Just not doing what its intended to do.
__________________
“Do not go where the path may lead, go instead where there is no path -- and leave a trail.” |
|
04-08-12, 04:29 PM | #7 |
There were some quotes missing around Tank and Heal, but rest should be good.
Lua Code:
|
|
WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » nibProfileLoader |
«
Previous Thread
|
Next Thread
»
|
Display Modes |
Switch to Linear Mode |
Hybrid Mode |
Switch to Threaded Mode |
|
|