Skip to reading
PCA Script Programming

change_quest_objective_property()

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 | Action ID: ChangeQuestObjectiveProperty

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

Source table from change_quest_objective_property(), page 214
Option key / fieldMeaning and accepted 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. The call waits for its runtime routine to return; no additional completion wait is promised by this schema.

Code example
let options = {}
options["questId"] = ""
options["stageId"] = ""
options["objectiveId"] = ""
options["property"] = "text"
change_quest_objective_property(options)

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 214 of 357Permalink
Go to page