Fix transitions not happening if the ESCRoom has no ESC script (#485)
Fixes godot-escoria/escoria-issues#95
This commit is contained in:
3
game/rooms/room16/esc/right_exit.esc
Normal file
3
game/rooms/room16/esc/right_exit.esc
Normal file
@@ -0,0 +1,3 @@
|
||||
:exit_scene
|
||||
play_snd res://game/sfx/sounds/doorOpen_2.ogg
|
||||
change_scene "res://game/rooms/room17/room17.tscn"
|
||||
@@ -6,3 +6,11 @@
|
||||
set_angle player 90
|
||||
stop
|
||||
|
||||
|
||||
|
||||
> [eq ESC_LAST_SCENE room17]
|
||||
teleport player r16_r_exit
|
||||
# Set player look down
|
||||
set_angle player 180
|
||||
stop
|
||||
|
||||
|
||||
Reference in New Issue
Block a user