UnlockHint()
Unlock Hint Topic / Answer
Unlock a numbered answer within an existing hint topic.
| Option key / field | Meaning and input | Default |
|---|---|---|
| Topic ID topicId | Text. | Blank |
| Answer Number answerNumber | Whole number. | 1 |
Timing. Waits for the runtime routine to return; no further completion wait is promised by this schema.
await UnlockHint({"topicId": "", "answerNumber": 1})In use. Unlock answer 2 for the archive topic after the player has examined the door. Match the topic ID and answer numbering used by the hint system; an invented ID does not create a complete hint topic.
RunVisualScript()#
Run Visual Script
Run a selected script and wait for that call. Despite its label, the picker can select the supported text-script languages as well as visual graphs.
| Option key / field | Meaning and input | Default |
|---|---|---|
| Script scriptId | Choose a visual or supported text script. | Blank |
Timing. Waits for the selected script call.
await RunVisualScript({"scriptId": "utility_gd"})In use. Put the door's inventory check in open_door, then call that script from the door's Use response. Keep the conditional logic in that one place instead of copying it into several event lists.
