This type of door requires a bit more math than all of the other doors, but it's a very simple concept once you understand how it works. It opens and closes three different doors, one at a time, limiting the amount of multiple routes you can take at once.
Create a sector with three other sectors attached to it. Separate the three other sectors with any type of door you want (I'm using Ceiling Doors in this example).
Place a MULTISWITCH
(#146) somewhere in your level, and tag it [ActivationSound,Channel]
. Place two A
sprites per door sector. This is a little complicated to explain, so I'll use a quick table to show you how they should be tagged:
Activator #1 | Activator #2 | |
---|---|---|
Door #1 | A[0,Channel] |
A[0,Channel+1] |
Door #2 | A[0,Channel+1] |
A[0,Channel+2] |
Door #3 | A[0,Channel+2] |
A[0,Channel+3] |
Finish creating the doors if you haven't already. Now the three doors will open incrementally in the game!