FailObjective()
Quest: Fail Objective
Mark an objective as failed, optionally selecting its stage first.
| Option key / field | Meaning and input | Default |
|---|---|---|
| Quest questId | Choose a Quest Designer ID. | Blank |
| Stage stageId | Choose a stage in that quest. | Blank |
| Objective objectiveId | Choose an objective in that stage. | Blank |
Timing. Waits for the runtime routine to return; no further completion wait is promised by this schema.
await FailObjective({"questId": "", "stageId": "", "objectiveId": ""})In use. Fail a timed optional objective when its timer expires. Keep failure consequences in a separate clear branch so a failed side objective does not accidentally end the whole quest.
ResetObjective()#
Quest: Reset Objective
Reset one objective to its unfinished state, optionally selecting its stage first.
| Option key / field | Meaning and input | Default |
|---|---|---|
| Quest questId | Choose a Quest Designer ID. | Blank |
| Stage stageId | Choose a stage in that quest. | Blank |
| Objective objectiveId | Choose an objective in that stage. | Blank |
Timing. Waits for the runtime routine to return; no further completion wait is promised by this schema.
await ResetObjective({"questId": "", "stageId": "", "objectiveId": ""})In use. Reset a repeatable practice task. It does not automatically restore consumed items, move characters or undo the rest of the room state.
