• 0

    posted a message on Selecting the first tab in an Options frame
    OK, I'll forget about it.

    Thanks!
    Posted in: Lua Code Discussion
  • 0

    posted a message on Selecting the first tab in an Options frame
    Because it is the main options tab, not the secondary tab. It is where most of the options will be set.

    Convenience, mainly.
    Posted in: Lua Code Discussion
  • 0

    posted a message on Selecting the first tab in an Options frame
    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.

    Thanks!
    Posted in: Lua Code Discussion
  • 0

    posted a message on Selecting the first tab in an Options frame
    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.

    Thanks in advance...
    Posted in: Lua Code Discussion
  • 0

    posted a message on Towns / Locations
    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

    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.
    Posted in: Lua Code Discussion
  • 0

    posted a message on Towns / Locations
    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.

    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...
    Posted in: Lua Code Discussion
  • 0

    posted a message on Spell Names for Tracking NPCs
    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?

    /script CastSpellByName("Find Fish")



    Thanks in advance...
    Posted in: Lua Code Discussion
  • 0

    posted a message on Using Conditionals in the Blizzard Options Frame
    Thank you both, that helped tremendously.
    Posted in: Lua Code Discussion
  • 0

    posted a message on Using Conditionals in the Blizzard Options Frame
    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
       },
    }


    Thanks in advance...
    Posted in: Lua Code Discussion
  • 0

    posted a message on files.wowace.com - Future
    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/ ?

    Or, should I be looking for my files on Curse?

    Thanks again...
    Posted in: Updaters
  • 0

    posted a message on files.wowace.com - Future
    Just a quick question...

    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.
    Posted in: Updaters
  • 0

    posted a message on bEQL
    I tried to post on Trac, but kept getting a server 500 error...

    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...
    Posted in: General AddOns
  • To post a comment, please or register a new account.