I have a mod that has a couple of tabs in the Options frame. Yes, it is Game Menu - Interface - AddOns - MyMod.
So, whenever the user opens this options panel, I would like that first frame to show. Right now it just selects the last frame that the user selected.
Suppose I am building an options frame using AceConfigOptions3, and I have multiple tabs (childGroups = "tab") in the frame.
How can I make sure that the first tab is active whenever the user opens the options window? Currently, it selects the last active tab that the user has selected.
I understand your concern, Tekkub. The reason is because I am casting a spell that doesn't need to be cast in town. Besides, Blizzard hasn't implemented player housing yet, so there is no place to crap. And sometimes when I crap, I'm not resting... ;D
Thanks again for the quick answers to my questions. Here is another one...
Is there an easy way to tell if a user is located in a town? The only way I can think of is to have a table of towns and check the location when a ZONE_CHANGED [_INDOORS] event has occured.
Is there a spellid/name for the tracking options that Blizzard put into the game (repair, innkeeper, etc.) ? I have looked/searched, but can't seem to find it.
For instance, the following will allow me to track fish. But what if I want to track where I can repair?
Working on putting items in the Blizzard options frame.
Is there a way to use "if" statements to optionally place items in there based on certain criteria? For instance, say I want to show an option based on a particular value. So let's say we have a Hunter....
logically,
if (player is a hunter)
show option 1
else
don't show option 1 (or grey it out)
I know the code below doesn't work, but how can we disable it from appearing in the options menu or "grey it out" / disable it?
*** from mymod.lua ***
local defaults = {
profile = {
iamahunter = true,
},
}
local options = {
name = "MyNewMod",
handler = MyNewMod,
type = 'group',
args = {
msg = {
type = "input",
name = "Message",
desc = "The message text to be displayed",
order = 1,
usage = "<Your message here>",
get = "GetMessage",
set = "SetMessage",
},
if (iamahunter) then
showOnScreen = {
type = "toggle",
name = "Show on Screen",
desc = "Toggles the display of the message on the screen.",
get = "IsShowOnScreen",
set = "ToggleShowOnScreen"
},
end
},
}
Thank you for the quick and to-the-point explanation.
So the next obvious question is, is there a new page that has the same info as before, or do I just have to look at the Files section for each project at http://www.wowace.com/projects/ ?
0
Thanks!
0
Convenience, mainly.
0
So, whenever the user opens this options panel, I would like that first frame to show. Right now it just selects the last frame that the user selected.
Thanks!
0
How can I make sure that the first tab is active whenever the user opens the options window? Currently, it selects the last active tab that the user has selected.
Thanks in advance...
0
The best list of cities I could come up with is the list of innkeepers from wowwiki. http://www.wowwiki.com/Innkeeper
Thanks again for the responses.
0
Is there an easy way to tell if a user is located in a town? The only way I can think of is to have a table of towns and check the location when a ZONE_CHANGED [_INDOORS] event has occured.
In addition, Wowwiki doesn't really have a good list of cities... http://www.wowwiki.com/Category:Cities Does anybody have a better one?
Thanks...
0
For instance, the following will allow me to track fish. But what if I want to track where I can repair?
Thanks in advance...
0
0
Is there a way to use "if" statements to optionally place items in there based on certain criteria? For instance, say I want to show an option based on a particular value. So let's say we have a Hunter....
logically,
if (player is a hunter)
show option 1
else
don't show option 1 (or grey it out)
I know the code below doesn't work, but how can we disable it from appearing in the options menu or "grey it out" / disable it?
Thanks in advance...
0
So the next obvious question is, is there a new page that has the same info as before, or do I just have to look at the Files section for each project at http://www.wowace.com/projects/ ?
Or, should I be looking for my files on Curse?
Thanks again...
0
I update my addons manually, and browse/sort through them by going to http://files.wowace.com.
Will this page cease to exist? Will I stilll be able to use that and see new / updated addons?
Thank you in advance.
0
Anyway, I would like to add a feature request...
1. The ability to color the quest titles in the tracker the same as they are in the questlog (reg, green, yellow, gray, etc...)
Thanks for picking up this much used mod...