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

18 lines
472 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_limits 1
camera_set_pos_block 2 2260 1050
#wait 2
#camera_set_limits 0
#camera_set_pos 0 1200 800
#wait 2
camera_set_target 1 player
# Re-enable user input
accept_input ALL