14. Use one object on another
On this page
clearer.
Do not make the handler for help submit help again. That calls the same custom command recursively. Show the help response directly instead.
For a sentence such as use the lantern on the clock, the game must identify two targets and know which response belongs to that pairing. This uses the verb's preposition settings and the first object's second-target responses.
There are three authoring steps: allow the preposition on Use, opt the lantern into that behaviour, and give the lantern a response for the clock.
Step 1: allow Use … on …#
1. Open Verb Command Designer and select Use(use).
2. Check Allow Preposition.
3. Enter on in Preposition.
4. Keep Use enabled. Apply and save.
Figure 24. Use allows on as a separator between the first and second targets.
Step 2: opt the first object in#
Select the placed lantern in Scene Designer. Give it useful synonyms such as lantern, lamp. In Verb Actions, enable Use Preposition · Use on. This checkbox belongs to the first object in the command.
The order is Use [lantern] on [clock]. The lantern is the source; the clock is the second target. Swapping their order is a different interaction and needs its own suitable setup.
