Skip to reading
Progress Bars, Hints & Journals

12. Unlock a hint with an action

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 illustrations

Figure 13. Unlock Hint Topic / Answer uses a topic ID and an answer number.

1. Add a Button with the caption Unlock answer 1.

2. In Events, choose Unlock Hint Topic / Answer for Click.

3. Set Topic ID to machine and Answer Number to 1.

4. Run the game and open the hints GUI. Press the Button, then click the machine topic.

Source table from 12. Unlock a hint with an action, page 21
Action requestWhat becomes available
machine, answer 1The topic and its first answer.
machine, answer 3Answers 1, 2 and 3 together.
machine, answer 1 after answer 3Still 1 through 3; it does not reduce the unlocked count.
A number larger than the answer listThe widget can only display the answers that exist.

The same shared action can run from an object’s verb interaction, an action list or a visual-script node. It does not need to come from a Button inside the hints GUI.

UnlockHint does not choose a GUI or element. It changes the global hintsUnlocked dictionary using Topic ID. The Hint List then matches that ID against its own Topics JSON.

Page 21 of 53Permalink
Go to page