Trigger/Relay question

Open Blade

L420: High Member
Nov 30, 2007
439
34
I have a func door (spawns as open) to a small room which holds a RED sentry. I want Blu team to be able to close the door. I only want the trigger to close the door just one time and keep it closed until end of round. I'm not doing this right. Here's what I got.

Trigger Multiple:
Name - Red Sentry Door Trigger
Start Disabled - no
Filter Name - bluteamfilter1

Outputs: OnStartTouchAll, Red Sentry Door Relay, Enable, Delay 1, Fire Once

Relay
Name - Red Sentry Door Relay
Start Disabled - no

Outputs: OnTrigger, Red Sentry Door Func, Close, Delay 2, Fire Once
Inputs: Red Sentry Door Trigger, OnStartTouchAll, Enable, Delay 1, Fire Once

Func Door
Name - Red Sentry Door Func
everything else is default except -1 on door closes by itself

Inputs: Red Sentry Door Relay, OnTrigger, Close, Delay 2, Fire Once




What the heck am I doing wrong here? I spawn as blu and run to trigger but when I go look at the door, it's still open.
 

UKCS-Alias

Mann vs Machine... or... Mapper vs Meta?
aa
Sep 8, 2008
1,264
816
The mistakes you made is that the trigger should trigger the relay and not enable it. Now it only enables the relay to be used when the trigger is touched but the relay never will be triggered. just change enable to trigger there.
 

Open Blade

L420: High Member
Nov 30, 2007
439
34
The mistakes you made is that the trigger should trigger the relay and not enable it. Now it only enables the relay to be used when the trigger is touched but the relay never will be triggered. just change enable to trigger there.

Thanks for the help. That worked, the doors now close and stay closed.

Another quick question for ya.

The sounds are not working correctly.

I have an Ambient Generic sound (named Red Sentry Sound). It's a bell that sounds off when the BLU team captures that area (not a control point) (setting off the trigger) and closes the door. I only want that sound to play once when that area is captured and never again. So I set up like this?

RELAY:
Outputs - OnTrigger, Red Sentry Sound, PlaySound, Delay 0, Fire Once
Outputs - OnTrigger, Red Sentry Sound, StopSound, Delay 2, No


Right now, the bell goes off when I hit that trigger and the door closes but the sound keeps playing and never stops. How do I fix that? Thanks.
 
Last edited:

l3eeron

L8: Fancy Shmancy Member
Jan 4, 2008
593
88
In the flags of the ambient_generic, make sure it's set to "not looped"


Some sounds are made to loop, regardless of this setting, so this might not fix it.
 

Open Blade

L420: High Member
Nov 30, 2007
439
34
In the flags of the ambient_generic, make sure it's set to "not looped"


Some sounds are made to loop, regardless of this setting, so this might not fix it.

No, they are NOT looped but they still continue to play without stopping once they are triggered. I don't think this sound is supposed to loop. It's the bells when a train comes.

Actually, I found something else I am going to try. On the Func_door there is an option for Start and Stop sounds for when door opens and closes. I just hope the sound radius can be enlarged to the trigger area so they know they tripped the door.
 
Last edited: