Skip to reading
GDScript Programming & Godot

SetQuestTracked()

Edition 0.86.4.1 HF1

0.86.4.1 Hotfix 1 edition. Earlier lessons and screenshots retain their original version context; revised references and supplements describe the newer behavior.

Download PDFView PDF page

Quest: Track / Untrack

Set whether a quest is tracked.

Source table from SetQuestTracked(), page 215
Option key / fieldMeaning and inputDefault
Quest questIdChoose a Quest Designer ID.Blank
Tracked trackedOn/off.true

Timing. Waits for the runtime routine to return; no further completion wait is promised by this schema.

Code example
await SetQuestTracked({"questId": "", "tracked": true})

In use. Track the active investigation after the player accepts it. The GUI must contain a suitable tracked-quest display if that state is meant to be visible.

ChangeQuestProperty()#

Quest: Change Property

Change a supported quest property such as title, description, category or flags.

Source table from SetQuestTracked(), page 215
Option key / fieldMeaning and inputDefault
Quest questIdChoose a Quest Designer ID.Blank
Quest Property propertyChoose a quest property.Blank
New Value valueA value of the type required by the selected variable, operation or property.Blank

Timing. Waits for the runtime routine to return; no further completion wait is promised by this schema.

Code example
await ChangeQuestProperty({
    "questId": "",
    "property": "description",
    "value": "The signal is working."
})

In use. Replace the quest description after a revelation. Choose a Boolean for Boolean properties and text for text properties; use dedicated completion actions for progression.

Page 215 of 378Permalink
Go to page