Spawn change problems

Simulacron

L-3: Simulated Member
aa
Feb 17, 2016
313
326
I'm creating a payload map where a spawn should swamp teams. The spawn should do following:
1. Red spawns there (they can go out and in the spawn)
2. When the fist point is captured red isn't spawning anymore in this spawn, but they can still leave it. So players aren't trapped in it. ( Nobody can go in!)
3. The second point gets captured and Blue spawns in the room. ( and can go in and out)

My Problem is the 2. I divided the trigger that opened the door so I can disable the trigger thats outside during the time nobody should go in. This is working, but if somebody leaves the trigger outside the door closes even if somebody is in the trigger that is inside of the door, because both doors have a OnEndTouchAll and an OnStartTouchAll output that open/closes the door. How can I fix this?
 

henke37

aa
Sep 23, 2011
2,075
515
Use two triggers, one that covers both inside and outside and one that covers just the inside.
 

Crowbar

Spiritual preprocessor
aa
Dec 19, 2015
1,455
1,297
Maybe doing something with filter_activator_team instead of creating a ton of triggers? Just an idea.
 

Simulacron

L-3: Simulated Member
aa
Feb 17, 2016
313
326
I arleady doing this, but I think you still need two triggers so you can trun on/off if you can go in the spawn. But thanks for the tip