Files
gymkhana-actions/game/rooms/room07/esc/button_set_pos.esc
2022-11-13 16:38:15 +01:00

15 lines
422 B
Plaintext
Executable File

:look
say player "That button uses camera_set_pos to point the camera at coordinates (1200,800)."
:use
# Disable input so all steps run without interruption
accept_input NONE
# Note that camera_set_pos puts the camera centre at a different location depending on
# the camera's limits
camera_set_pos 1.9 1000 500
wait 2
camera_set_pos 0 1620 1150
camera_set_target_block 1 player
# Re-enable user input
accept_input ALL