Give the player three bell buttons
13 CONTINUED / RECEIVER LAYOUT
2. Lay out pulse_panel. Make one Label and four Buttons. Use the Top Left anchor. The first row is the label text. For the three number buttons choose run-visual-script. Give each button its Click behavior and target under the selected element’s Events tab. In a text target field type the exact ID.
| Text | X, Y | W × H | Click behavior / target |
|---|---|---|---|
| BELL RECEIVER / ENTER THREE PULSES | 290, 200 | 680 × 68 | Label only |
| 1 / 2 / 3 | 290 / 520 / 750, Y 280 | 220 × 100 each | Run script pulse_1 / pulse_2 / pulse_3, respectively |
| Close | 740, 395 | 230 × 55 | hide-gui pulse_panel |
One button, one number. The button labeled 3 must send the number 3, even though it is the first correct press. The next page gives the three short button scripts and the shared rule that checks their order.
The receiver in play. Reading left to right, the buttons send 1, 2 and 3. Nell’s letter tells Pip which one to press first.
3. Fill in the three button scripts. Make each record send its own number. All three call the same function, so there is one place to change the puzzle.
pulse_1 / PCA SCRIPT
call script receiver_logic function press with 1pulse_2 / PCA SCRIPT
call script receiver_logic function press with 2pulse_3 / PCA SCRIPT
call script receiver_logic function press with 3