Configure Map Pickup to Unlock Map Parts or Floors
Last updated
Last updated
This is useful to hide map parts or floors at the start of the game, so the player can unlock these zone maps with pickups for example.
For this, once some floors or map parts are disabled, drag and drop the Map Inventory Prefab, in Prefabs/Inventory/Usable.
In that object, go to the Map Zone Unlocker inspector and press the button Search Floor List to get the configured map floors in the Map Creator.
Open every map floor list that you need and select the map parts that this pickup will unlock.
So like this, when the pickup is grabbed by the player, these zones will be shown in the map window.
For example, in the mansion demo, there are three map unlocker pickups, one that enables all the floor 0 and the other 2, which enable half of the map of floor 1.
Floor 0 before and after unlocking the map.
In this case, the first floor map is disabled and the player picks one map unlocker and then the other.