Skip to reading
First Light, Part 6: The Final Hour

Tell PCA which screens to open

Edition 0.86.4.1 HF1

0.86.4.1 Hotfix 1 edition. Earlier lessons and screenshots retain their original version context; revised references and supplements describe the newer behavior.

Download PDFView illustrations

03 / SYSTEM GUIS

1. Add two buttons below each list. Place the first at 220, 550, size 345 × 62. Place the second at 615, 550, size 390 × 62. Set their Click behaviors below. In the Target field enter the widget ID exactly.

Source table from Tell PCA which screens to open, page 4
Screen / button textClick behaviorTarget
Save / Save selectedsave-widget-savewrite_slot_rows
Save / Back to gamesystem-resumeLeave empty
Load / Load selectedsave-widget-loadread_slot_rows
Load / Title screensystem-main-menuLeave empty

2. Assign the replacements. Select Settings › System GUIs. Choose title_card for Main Menu, write_slot for Save Screen and read_slot for Load Screen. Keep your Part 5 HUD and pause menu assignments. Apply Changes. In Settings enable Show Main Menu on Start and set Save Slots to 4. In 0.86.3.4 those two fields are low on the Screen Overlay tab. Under Player Options leave the autosave on its dedicated slot 0. Save the project.

The System GUIs Inspector. Assigning a GUI here lets the existing pause menu and title buttons open the same screen.

Try it now. Play / Restart. Start a game, pause and save into an empty row. It should acquire a name and scene. Select it again and check that overwriting asks first. Cancel. Load the slot. The list should close and you should be able to walk.

Page 4 of 17Permalink
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