19. Align the receiver and finish
On this page
19. Align the receiver and finish
Check your work. Pick up the cell twice, use it on the relay, then use the relay again. You should receive only one cell and only one 20-point pickup reward. After powering the relay, the cell leaves Inventory, score reads 45 and the next relay click changes rooms.
The receiver dish#
Select dish in roof and open its Use actions. Test aligned first. If it is already true, show that the receiver is already aligned. Otherwise set aligned true, set score to 70, set the objective to press the green transmit switch, stop the dish's motion and show the lock-on message.
1. If Variable - name = aligned; equals = true
True
1. Show Message - text = The receiver is aligned.; duration = 3.2
False
1. Set Variable - name = aligned; value = true
2. Set Variable - name = score; value = 70
3. Set Variable - name = objective; value = Press the green transmit switch to send the signal.
4. Set Motion - entityId = dish; enabled = false
5. Show Message - text = The dish locks onto the relay.; duration = 3.2
The return door#
On back_to_lab, add Change Scene to lab, spawn entry. Give the hotspot a useful label. If the destination room or spawn does not appear in the picker, check that it was applied and that you are editing the correct project.
Create send_signal#
Add a Visual Script with ID send_signal and name Send Signal. Add an Interact entry set to use. Add these action nodes and connect their flow in order:
| Order | Node | Important value |
|---|---|---|
| 1 | Set Variable | finished = true |
| 2 | Set Variable | objective = Complete - explore, save, or inspect this project in the editor. |
| 3 | Set Variable | score = 100 |
| 4 | Complete Quest | signal |
| 5 | Play Sound | chime |
