18 lines
460 B
Plaintext
Executable File
18 lines
460 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 0 1200 800
|
|
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
|