Skip to content

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.

UpdateQuest(id, definition)
Parameter Type
id number|string the quest’s id or key
definition table the whole new definition

boolean, string - accepted; the reason when not

local info = GetQuestInfo(ERRAND)
info.description = "Brother Anselm is waiting. Hurry."
UpdateQuest(ERRAND, info)

CreateQuest · GetQuestInfo · the Quests group of the index