The following flags have multiple zone activation's in your code. When those flags are set, via opening a door typically, it will activate and make those zones adjacent.
For example:
When you open a door with enter_zone11 on the script_flag, zones: zone5, zone 11, zone9, and zone 11, will then be passed to the function that checks if they are active and if not, adds them to the active array, and then adds zone9 to zone11's adjacent array, and visa versa, and zone5 to zone11's adjacent array, and visa versa.
You do not need to repeat add_adjacent_zone lines for reciprocal junctions.
I've removed the repeats and added where you need to add new script_flags to your door triggers:
Last Edit: February 13, 2017, 06:54:10 pm by MakeCents
So it doesn't matter which zone do I enter from? The map has 2 entrances for almost every zone so the player can choose his path like in kino for example, I guess even if the flag is not set it will activate the zones accordingly?
And I have to leave the KVPs for the triggers the same as before?
No it does not matter how you enter a zone. A zone is either active or in-active. Once a zone is active the game will not kill you for being in it no matter how you got into it. "Adjacent" just defines that the zone volume is directly next to the previous zone's volume. I believe this would allow you to leave one zones edge, and enter another.
Last Edit: February 15, 2017, 01:40:02 am by MegaMech43
What he said ^, it only matters if you try to make a path between zones one way. (more advanced)
To try an simply explain zones, you can just name the flags between zones the two zone names together. It's what I do. If you find that you have two lines that have the same zones and same flag, but maybe zones are switched, you don't need both, they are the same thing.
It's this simple:
so each repeated connection between zones may have the same script_flag. And even if 3 was zonec, zoneb, zoneb_zonec it would be the same thing. Same flag, and same zones, even if in different orders.
Last Edit: February 15, 2017, 03:20:10 am by MakeCents