Add Triggers for Hidden Map Parts

Once some map parts have been disabled, you can configure the trigger that will show the map part when the player reaches that zone. For this, go to the map part that you need, Map Tile Builder inspector and press the button Add Trigger Event to Enable Map Part.

A trigger is automatically created, but you can add as many triggers as you need for the same map part (for example a room with three doors, so it will be activated no matter the door the player uses to enter).

Next, select the MapPartEnabledTrigger_1 in the inspector and the hierarchy will show this element, select it there and place every trigger where you need it.

As you can see, in this picture, this trigger is used to show the Main Hall of the mansion when the player enters it.

Also, the trigger shows this gizmo, making it easier to see in the scene.

To remove any trigger, press the X button, and both the object in the scene and the list are removed.

Last updated