1. I'm writting an addon (attempting too anyway), Is there a function to get the zone text for a selected quest? Something basicly like "GetQuestZoneTetxt"?



    So if I have the following structure:



    =============

    + Thunder Bluff

    - The Barrens

    Quest Name 1

    Quest Name 2

    Quest Name 3

    + Thousand Needles

    ==============



    And lets say "Quest Name 2" is selected, I want to be able to return either the text or index value of "The Barrens" Zone group. Is that possible? I have to assume it is but so far I've been unsuccessful in finding a function that will do this. Thanks for any assistance.
    BTW - Book is awesome.  I realize this should go in the development area but that forums appears to be down.
  2. I'm writting an addon (attempting too anyway), Is there a function to get the zone text for a selected quest? Something basicly like "GetQuestZoneTetxt"?



    So if I have the following structure:



    =============

    + Thunder Bluff

    - The Barrens

    Quest Name 1

    Quest Name 2

    Quest Name 3

    + Thousand Needles

    ==============



    And lets say "Quest Name 2" is selected, I want to be able to return either the text or index value of "The Barrens" Zone group. Is that possible? I have to assume it is but so far I've been unsuccessful in finding a function that will do this. Thanks for any assistance.
    BTW - Book is awesome.  I realize this should go in the development area but that forums appears to be down.
  3. There is no function that returns this specific value, but you can easily write one yourself.  Everytime a header is encountered, simply save the value and then when you want to determine the zone text, take the last header that was before the index you are querying.  Let me know if that doesn't make sense and I'll actually throw something together when I'm back from holiday.

  4. Thanks, I'm trying to think if that would work to get the quests that are in a specific zone?  I suppose I could loop through all the quests and save the current zone to a variable each time the loop comes across one.  Then whatever the last zone the loop encountered when I find my quest would be the correct one...  That seems like a lot of work to get the zone associated with a quests but I guess it would work.  Do you think thats the best way?

    While I'd rather not go into the details of what the add-on is going to do (since I haven't found an add-on that does it already I don't want somebody to beat me to the punch), but my end result would be:

    - Person selects a quest from their log

    - Add-on now retrieves a list of all the quests that are in that same zone

    - Add-on now does it's thing with the lists of quests.

    Don't be afraid to get to technical, I'm an experienced VB/VB.Net/Java/Perl programmer.  I haven't done much programming lately and thought WoW Add-Ons would be a great way to get back into programming again.  Hope you are having a good holiday!  Thanks for your assistance.

    -Kasey

  5. Well, there is no way to get a list of all quests in the current zone.  You can (however) get the list of quests in the quest log that are under the header trivially.  If you want to provide some sort of database that allows the user to search for quests in a given zone or have a list of quests that can be ticked off for achievement purposes, that can't be done solely with the API.  You would need to provide that information with your addon.