Custom Menu

A custommenu is a replacement for the standard gamemenu. It works like a subroom that appears when the player hits the escape key. In a custommenu you have to make sure that the player can load, save and quit a game. You can do this by creating buttons which will execute some scriptcommands.

Those commands are quit (),restart() , savegame(slot),loadgame(slot) and also textspeed () . You can add other stuff to this menu like a volume setting ect.