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

Build the bell receiver

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

13 / BUTTONS AND THEIR TARGETS

1. Open the correct GUI from each object. Fill in the two scripts below. In the corridor, give the placed regulator the default verb Use and Use Verb — Step 1 › Run Visual Script › Check Dial. On receiver set Use to Open Decoder. Apply each. Reopening the receiver starts a fresh three-press attempt.

check_dial / PCA SCRIPT

Code example
global secret_route = 0
Code example
if secret_route == 0
    show gui dial_view
else
    show message "The receiver already played the clockmaker's message."
end

open_decoder / PCA SCRIPT

Code example
global pulse_step = 0
global secret_route = 0
Code example
if secret_route == 0
    set pulse_step to 0
    show gui pulse_panel
else
    show message "The receiver is quiet now."
end

Pulse Panel in the GUI Designer. Select a button on the canvas to edit the action it runs when clicked.

Page 14 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