help with CP trigger

DJive

Cake or Death?
aa
Dec 20, 2007
1,465
741
Hey all;

Im trying to get my CP to work a certain way.

When blue/red team goes in "trigger_capture_area" I want it to turn on/off lights while player is in that area. Heres what my outputs look like.

trigger.jpg


Example Blue.

When blue player goes into "trigger_capture_area" i want the light to turn on. If red breaks the capture or blue players leaves, i want the lights to turn off.

*note my lights are set as *start dark*

I've got it so with those settings it will..

Turn on when player enters area and starts to cap. however.. the light stays on after blue player leaves. Lights will stay on till capture timer drops back down. not till when player leaves or red player interrupts.

confusing post im sorry, any ideas?
 
Last edited:

MangyCarface

Mapper
aa
Feb 26, 2008
1,626
1,325
DJive,
I'm not positive I know what you're trying to do, is this right?: When a player starts to capture, his team's lights will turn on. As soon as there's no other players of his team on that spot or the opposite team interferes, the lights will turn off. Same for the other team.

If I got that right, then this may work:

Working with the trigger_capture might not be the best solution. Try making a trigger_multiple the same size as your capture zone and using a team filter to determine which players enter and leave. This will have the same effect without waiting for the capture timer to go all the way back down.
 

DJive

Cake or Death?
aa
Dec 20, 2007
1,465
741
DJive,
I'm not positive I know what you're trying to do, is this right?: When a player starts to capture, his team's lights will turn on. As soon as there's no other players of his team on that spot or the opposite team interferes, the lights will turn off. Same for the other team.

Working with the trigger_capture might not be the best solution. Try making a trigger_multiple the same size as your capture zone and using a team filter to determine which players enter and leave. This will have the same effect without waiting for the capture timer to go all the way back down.

Awesome, the on/off worked. I have it now set to, contested.