Skip to reading
PCA Script Programming

reset_quest()

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: Reset Quest | Action ID: ResetQuest

Reset the quest state through the quest manager.

Source table from reset_quest(), page 210
Option key / fieldMeaning and accepted inputDefault
Quest questIdChoose a Quest Designer ID.Blank

Timing. The call waits for its runtime routine to return; no additional completion wait is promised by this schema.

Code example
reset_quest({"questId": ""})

In use. Restart a repeatable challenge. Reconcile its room state, inventory and timers as well; resetting the journal state does not rebuild the whole puzzle.

set_quest_hidden()#

Quest: Hide / Unhide | Action ID: SetQuestHidden

Set a quest's hidden state.

Source table from reset_quest(), page 210
Option key / fieldMeaning and accepted inputDefault
Quest questIdChoose a Quest Designer ID.Blank
Hidden hiddenWhether the quest or player visual should be hidden for this action.true

Timing. The call waits for its runtime routine to return; no additional completion wait is promised by this schema.

Code example
set_quest_hidden({"questId": "", "hidden": true})

In use. Reveal a secret quest once its first clue is found. Hidden controls journal visibility policy, rather than completing or deleting the quest.

Page 210 of 357Permalink
Go to page