Script Reference |
subroom (roomname ; Fade delay) //Beginner |
Used for : Rooms.
Parameters :
Description :
Opens a subroom which is a normal room that will be displayed above your game elements. Subrooms can be used for inventories, maps, plans or gamemenues. You can close a subroom with return (). A Custom Menu can also be opened with this scriptcommand if you want to do it manually. The delay is a time in milliseconds that the subroom will need to fully appear. [Variables] can be used as parameters.
Subrooms can trigger the events on (enter) and on (exit) when they open and close.