Run it from the NPC
On this page
27. Build Elias's conversation
answer1 (line)#
| Setting | Value |
|---|---|
| speakerId | elias |
| text | The brass wheel is missing, and the bearing is dry. My notebook gives the winding order. |
| next | topics |
| returnToPrevious | true |
answer2 (line)#
| Setting | Value |
|---|---|
| speakerId | elias |
| text | My wife used to say the afternoon bell meant it was time to come home. I like to keep that promise. |
| next | topics |
| returnToPrevious | true |
Connect start to topics. Connect each response to its answer or end. The answer lines return to topics. You can enable Return to Previous so an answer returns to the choice that called it; the supplied records also contain explicit topics destinations. Keep one clear intended return path and test it.
Select Elias's Workshop placement, open Verb Actions and set Talk to Start Dialogue elias. Test the room and click Talk on him. Then Test Dialogue directly from the graph. The first proves the NPC's event wiring; the second isolates the conversation itself.
Add a condition after the plain version works#
For practice, duplicate the working file. Add a response such as I found the wheel, conditioned on wheel_taken true. Give Elias a short reply and return to topics. Test before and after finding the wheel. This is how a conversation can acknowledge progress without making a separate dialogue for every stage.
You do not need this extra response to match the demo. Keep your reconstruction checkpoint before making the variation.
