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

Let the Long Key solve the same problem

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 PDF page

15 / THE KEY ROUTE

1. Use the spindle as an inventory target. Open Service Corridor › Scene Objects › regulator › Inventory Actions. Click Add Inventory Interaction. Under Allowed Inventory Items, select Part 3’s Long Key. Under Result Action — Step 1 choose Run Visual Script › Key Spindle. Apply and save. An ordinary click still opens the viewer. A click with the selected key attempts the mechanical solution.

key_spindle / PCA SCRIPT

Code example
global socket_seen = false
global secret_route = 0
Code example
if secret_route != 0
    show message "The regulator has already released its message."
else if socket_seen and player has long_key
    call script finish_secret function reveal with 2
else
    show message "Look closely at the spindle before turning it."
end

2. Give both routes the same finish. Fill in finish_secret. Its argument is 1 from the bells or 2 from the spindle. The script saves the route first, turns off the searchlight, takes Pip back to Nell and starts the same film. The Long Key stays in the inventory.

finish_secret / PCA SCRIPT

Code example
global secret_route = 0
Code example
function reveal(route)
    if secret_route != 0
        return
    end
    set secret_route to route
    let off = set_flashlight_mode({"enabled":false})
    enter room relay_room
    start cutscene secret_film
end

Try the mechanical route from an earlier player save. Ignore the bell receiver. Inspect the regulator, click its spindle button, press I and select the Long Key. Click the regulator in the room. If Pip only opens the viewer, check that the key is still selected and that its inventory rule belongs to the placed regulator.

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