Skip to reading
First Light, Part 5: The Clockmaker’s Secret

Give the conversation a clock

Edition 0.86.3.4

Part 5 of the First Light course. Add timed choices, object handoffs, an attached lantern, a pointer flashlight, a 3D inspection GUI, alternative puzzle solutions and speech presentation.

Download PDFView illustrations

05 / INTERROGATE NELL

1. Give Nell a Talk action. Open the placed Nell in Relay Room. Under Verb Actions set Default Verb › Talk and Talk Verb — Step 1 › Run Visual Script / Run Script › Nell Chat. Apply and save. A fresh run reaches her only after the lift opens.

nell_chat / PCA SCRIPT

Code example
global lift_stage = 0
Code example
if lift_stage == 4 and active_player() == "new_character"
    start dialogue nell_questions
end

2. Build the dialogue. Open Dialogues › nell_questions. Use the toolbar to make the six nodes below, reusing the starter Line. The first column gives each node a nickname for this page. Keep the IDs the editor assigns. On Line and Action nodes uncheck Return to previous node. Select the opening line and click Set Start. Drag each output dot to its destination.

Source table from Give the conversation a clock, page 6
Nickname / typeSpeaker, text or actionNext
open / LineNell: “You opened the lift. Can you keep a secret?”ask
ask / ChoiceThe player gets eight seconds to answer.Three outputs
pass / ActionRun Visual Script / Run Script Give Letterend
repeat / LineNell: “Three bells. One bell. Two bells. He said to keep the long key.”end
quiet / LineNell: “Give me a moment. Then ask again.”end
end / EndReturn control to Pip.—

Nell’s conversation in the Dialogue Designer. Use Auto Arrange after wiring, then zoom in on the Choice node to enter its options.

Page 6 of 20Permalink
Go to page

Continue your 3D adventure

  1. Part 1First Light, Part 1: Your First 3D Adventure
  2. Part 2First Light, Part 2: Three Knocks
  3. Part 3First Light, Part 3: Behind the Wall
  4. Part 4First Light, Part 4: The Message in the Machine
  5. Part 5First Light, Part 5: The Clockmaker’s Secret
  6. Part 6First Light, Part 6: The Final Hour