Skip to reading
First Light, Part 4: The Message in the Machine

Give both rooms the same two numbers

Edition 0.86.3.4

Part 4 of the First Light course. Build a two-character rescue using shared variables, attach-point alignment, sparks, a camera close-up, separate journals and a timed lift reserve.

Download PDFView illustrations

02 / SHARED PROGRESS

Kit can throw a switch in Gatehouse while Relay Room is unloaded. The game needs somewhere to remember that click. Store it in a project variable so Pip can read it when her room opens.

1. Create two variables. Choose Adventure Database › Add › Variable. Set the first record as shown below, click Apply Changes, then add the second. Select Number, leave Leave Blank At Start off and enter 0 for both starting values.

Source table from Give both rooms the same two numbers, page 3
Variable IDNameWhat the number remembers
lift_stageLift StageHow far the pair have got with the repair.
lift_secondsLift SecondsSeconds of usable power left in Kit’s reserve.

[1] Variable ID. [2] Number. [3] Starting value. “Lift Seconds” is the friendly name shown in the editor.

2. Read the stage numbers once. Start them at zero. The scripts will change them during play. The reserve can run out at stage 3 without undoing Pip’s repair.

Source table from Give both rooms the same two numbers, page 3
lift_stageWhat the player sees
0The lift has no feed. Kit’s breaker waits for the HELP discovery.
1Kit has turned on the feed. The close-up is waiting for Pip.
2Pip has seen the socket. The loose copper pin can now be fitted.
3The pin is seated. Kit can charge the reserve and Pip can release the lift.
4Nell is free. Going back into the room leaves the shutter open.
Page 3 of 16Permalink
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