This is simple, but I failed to find out a solution by myself.
That's the setup that I'm looking for: I want to execute linedef type "A" when one or more players enter a sector (anywhere in the sector). And, when all players leave the sector, linedef type "A" is turned off, or execute linedef type "B" that turns off the linedef type "A".
Example:
A corridor with 3 sectors in line, say: sector #1, sector #2, sector #3 and so on; each sector is meant to light up if there's at least one player in, and turn the light off if there are no players in.
If one or more player enter the sector #1, the light of sector #1 is turned on. While sector #1 has at least one player in, keep the light turned on. If all player leaves the sector #1 and enter the sector #2, turn off sector#1's light and turn on sector#2's light. If the sectors #1 and #2 have players in, both sectors should light up.
That's the problem: if the sector #2 is set to turn off sector #1's light, it will even if the sector #1 still has player in.
Other example:
A room with moving platforms. The room has, say, 10 sectors, each sector has a FOF or floor that rises up to a certain height if one or more player enter the said sector. If all players leave the said sector, the FOF or platform will return to its original position.
If two or three sectors have one or more players in, the FOFs or floors of said sectors rise up to a certain height.
In this case, I tried to use Linedef Type 191, but it requires that player must step on the floor, but if the player jumps straight up, the FOF will lower. I want to raise the platform even if the player is flying over, and keep the height of platform even if the player jump straight up. The platform will lower only if the player leaves the sector.
That's the setup that I'm looking for: I want to execute linedef type "A" when one or more players enter a sector (anywhere in the sector). And, when all players leave the sector, linedef type "A" is turned off, or execute linedef type "B" that turns off the linedef type "A".
Example:
A corridor with 3 sectors in line, say: sector #1, sector #2, sector #3 and so on; each sector is meant to light up if there's at least one player in, and turn the light off if there are no players in.
If one or more player enter the sector #1, the light of sector #1 is turned on. While sector #1 has at least one player in, keep the light turned on. If all player leaves the sector #1 and enter the sector #2, turn off sector#1's light and turn on sector#2's light. If the sectors #1 and #2 have players in, both sectors should light up.
That's the problem: if the sector #2 is set to turn off sector #1's light, it will even if the sector #1 still has player in.
Other example:
A room with moving platforms. The room has, say, 10 sectors, each sector has a FOF or floor that rises up to a certain height if one or more player enter the said sector. If all players leave the said sector, the FOF or platform will return to its original position.
If two or three sectors have one or more players in, the FOFs or floors of said sectors rise up to a certain height.
In this case, I tried to use Linedef Type 191, but it requires that player must step on the floor, but if the player jumps straight up, the FOF will lower. I want to raise the platform even if the player is flying over, and keep the height of platform even if the player jump straight up. The platform will lower only if the player leaves the sector.
Last edited: