Files
gymkhana-actions/game/rooms/room14/esc/right_exit.esc
Julian Murgia bbe885edc2 Ensure player is set at start location if there is one (#435)
This is done even if there is no ESC script attached to the room.
First default position will then be the start ESCLocation if there is one.
Else, fallback to origin (0,0).
2021-11-12 22:57:44 +01:00

4 lines
129 B
Plaintext

:exit_scene
set_sound_state _sound res://game/sfx/sounds/doorOpen_2.ogg false
change_scene "res://game/rooms/room15/room15.tscn"