Skip to reading
GDScript Programming & Godot

ChangeQuestObjectiveProperty()

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: Change Objective Property

Change a supported property such as text, optional or hidden on one objective.

Source table from ChangeQuestObjectiveProperty(), page 217
Option key / fieldMeaning and inputDefault
Quest questIdChoose a Quest Designer ID.Blank
Stage stageIdChoose a stage in that quest.Blank
Objective objectiveIdChoose an objective in that stage.Blank
Objective Property propertyChoose an objective 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 ChangeQuestObjectiveProperty({
    "questId": "",
    "stageId": "",
    "objectiveId": "",
    "property": "text"
})

In use. Reveal an optional objective after the player reads a note. Choose the correct quest and stage before the objective. Completing an objective remains a separate operation.

Page 217 of 378Permalink
Go to page