GuiInterface.trackQuest
Adds a quest to the quest tracker
Kind: Function
Environments: Game
Game
guiInterface:trackQuest( name, title, mainQuest, questTasks, icon )
Availability: Client only
Parameters:
| Name | Type | Description |
|---|---|---|
gui |
GuiInterface | The QuestGui interface |
name |
string | The name of quest |
title |
string | The quest title to be displayed in the tracker |
mainQuest |
boolean | If the quest is a main quest (Displayed on top in the tracker) |
questTasks |
table | The table of quest tasks to display in the log Task{ name = string, text = string, count = number, target = number, complete = boolean } |
icon (optional) |
string | The icon to display in the tracker (Optional) |