Skip to reading
Eight Adventure Interface Workshops

Write a useful sentence, then execute it

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

1. Create a useful object such as a locked chest. Give it Look at and Open responses.

2. Create Brass key as a carried item and add its matching item-on-chest response.

3. For a pair-command workflow, enable Allow Preposition on Use, enter with, and opt the key into that preposition.

4. Select Use, then the key, then the chest. Confirm that the key response runs and the chest’s state changes.

5. Install sentence_line from Chapter 12 to display the selected-item or pending-pair prefix in mi_command.

6. Try changing verbs midway through a pending command and cancelling an item. The caption and actual command should agree.

The original also highlights a suitable default verb over a target and supports a shortcut to use that default. A selected command color is not that feature. If you want an automatic default in your PCA game, configure or script that separate choice and check it against the target’s available interactions.

Do not highlight Open over a locked mechanism while the click actually performs Look. Feedback and execution need to refer to the same rule.

Page 61 of 119Permalink
Go to page