Skip to reading
Verbs & Mouse Cursors

Record a small piece of game state

Edition 0.86.3.4

Create adventure commands, configure cursor artwork and hotspots, and connect mouse, GUI and parser input to the same interactions.

Download PDFView illustrations

The fuller example also records whether the clock has been wound. Create a Boolean game variable with ID clock_wound, initially false, in the Variable Designer.

Arrange the clock's Wind response in this order:

Source table from Record a small piece of game state, page 14
StepActionValues
1Set VariableVariable Clock Wound(clock_wound); Value true.
2Show MessageThe winding message; Duration 2.5 seconds.

Use Add Next Action in the Wind section to append another step. Make sure you are adding to Wind, rather than the similarly named button beneath another verb.

Figure 8. The clock's Wind response sets clock_wound to true, then shows its message. The actions run from top to bottom.

This demonstration records state and shows text. To make a clock model animate or play ticking audio, add the appropriate animation or sound action with a real animation/recording. A sentence mentioning a tick does not create the sound automatically.

Page 14 of 44Permalink
Go to page