-
Notifications
You must be signed in to change notification settings - Fork 52
Quest
MMOMinion edited this page Feb 8, 2014
·
6 revisions
- Functions needed for questing.
- none
- Quest:GetQuestList()
- returns a lua table containing the players current quests. The table key is the questid. The questid is also part of the returned quest objects inside the table.
- GameHacks:IsQuestCompleted( QuestId )
- Checks if the quest with the passed id is flagged as completed and can be turned in
- GameHacks:GetQuestCurrentStep( QuestId )
- Returns the current quest step (1-254). A quest step with the value 255 indicates the quest is completed
- GameHacks:HasQuest( QuestId )
- Checks if the quest with the passed id is currently in the journal of the player
- GameHacks:GetSelectedJournalQuest()
- Returns the quest currently selected in the quest journal. If the journal is closed or none is selected, nil is returned