Skip to reading
Getting started with PCA3D

Run it from the NPC

Edition 0.86.4.3

0.86.4.3 edition with revised lessons, updated cross-references and new cinematic/camera-safety supplements. Earlier examples, screenshots and registry figures retain their stated edition context.

Download PDFView PDF page
On this page

27. Build Elias's conversation

answer1 (line)#

Source table from Run it from the NPC, page 71
SettingValue
speakerIdelias
textThe brass wheel is missing, and the bearing is dry. My notebook gives the winding order.
nexttopics
returnToPrevioustrue

answer2 (line)#

Source table from Run it from the NPC, page 71
SettingValue
speakerIdelias
textMy wife used to say the afternoon bell meant it was time to come home. I like to keep that promise.
nexttopics
returnToPrevioustrue

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.

Page 71 of 184Permalink
Go to page