737 Changelog - Quests IDs change
Posted: Tue Aug 21, 2012 6:46 am
Changes include;
- getQuestStatus(nameorid) now accepts ids.
- QuestByName functions now accept Ids and an extra argument if you want to specify the quest group, "normal", "daily" or "public".
I think I made these functions a lot more usable. Enjoy.
- getQuestStatus(nameorid) now accepts ids.
- QuestByName functions now accept Ids and an extra argument if you want to specify the quest group, "normal", "daily" or "public".
- Examples:
If you want to accept/complete all normal quests onlyIf you want to accept the daily quest "Extinguish More Flames" but not the public quest by the same nameCode: Select all
AcceptAllQuests("normal") CompleteAllQuests("normal")
Code: Select all
AcceptQuestByName(425186)
- or
To complete this quest you can useCode: Select all
AcceptQuestByName("Extinguish More Flames", "daily")
Code: Select all
CompleteQuestByName(425186)
- or
The 'nil' is there because the second argument for that function is the reward number. But if you don't have to specify a reward you can also useCode: Select all
CompleteQuestByName("Extinguish More Flames" ,nil, "daily")
because the function checks to see if the second argument is a reward option or quest group.Code: Select all
CompleteQuestByName("Extinguish More Flames","daily")
I think I made these functions a lot more usable. Enjoy.