UpdateQuest
Gives a quest new texts, a new kind or other objectives.
Every player who holds the quest sees the change at once, their progress kept; an objective added is hidden for them
until set. A definition without a key keeps the quest’s key. Refused like CreateQuest, and when a new kind would
give a player more quests of it than they can hold.
Syntax
Section titled “Syntax”UpdateQuest(id, definition)| Parameter | Type | |
|---|---|---|
id |
number|string | the quest’s id or key |
definition |
table | the whole new definition |
Returns
Section titled “Returns”boolean, string - accepted; the reason when not
Example
Section titled “Example”local info = GetQuestInfo(ERRAND)info.description = "Brother Anselm is waiting. Hurry."UpdateQuest(ERRAND, info)See also
Section titled “See also”CreateQuest · GetQuestInfo · the Quests group of the index
