fix: implement varargs for ESC commands. 'custom' makes use of this #592
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
|
||||
:setup
|
||||
custom r3_r_exit door_enabler enable_door a b c 1 2 345
|
||||
|
||||
# If the room hasn't been visited previously, open the bridge and break the button
|
||||
> [!room3_visited]
|
||||
@@ -21,7 +22,7 @@
|
||||
# We use a custom function to enable the collision polygon on the door
|
||||
# to enable it to work as a door once the bridge is closed.
|
||||
# You'll find the script in room3/Hotspots/r_door/door_enabler
|
||||
custom r3_r_exit door_enabler enable_door
|
||||
custom r3_r_exit door_enabler enable_door
|
||||
|
||||
> [eq ESC_LAST_SCENE room2]
|
||||
teleport player r3_l_exit
|
||||
@@ -67,4 +68,4 @@
|
||||
# This is for when you close the bridge then go back to room 2
|
||||
# Set the bridge closed
|
||||
|
||||
set_global r3_bridge_closed true
|
||||
set_global r3_bridge_closed true
|
||||
|
||||
Reference in New Issue
Block a user