Random Maps: Jump to Version 3.0 Upgrade Guide!
The Random Maps Core plugin can track whether a room has been solved by the player or not. This is controlled by a single Switch that the plugin synchronizes each time the player enters a room. After that, it’s up to you, as the game dev, what to do with this information.
In the Plugin Manager, bind this parameter to a fresh new Switch:
You, as the game dev, can solve a room by turning on this Switch; the plugin recognizes it automatically and memorizes the room’s state for you. Here’s an example:
Initialize a Room
As you may already have seen, the mob’s eventing checks for a Variable being 0. At what point will it be initialized to an actual number? We found out that the easiest way is to put an invisible Event on the Space Map with a parallel process that initializes the „Mobs remaining“ Variable and then erases itself. You may want to check for other Switches being on before initializing Variables.
Here is an example:
And don’t forget to add a second Page that does nothing if the room has been solved.