Stopping an ambient_generic with tf_logic_arena...

JMRboosties

L2: Junior Member
Jun 3, 2009
98
2
As you may know, the only non-user outputs on tf_logic_arena are OnCapEnabled and OnArenaRoundStart

I want to start an ambient_generic when the cap is enabled, and end it when the round is won by either team. I tried using a game_round_win to stop it, but that didn't work.

Anyway to do this?
 

lana

Currently On: ?????
aa
Sep 28, 2009
3,075
2,778
team_control_point_master has outputs for end of round events, I believe. By placing one of those you should be able to end the ambient_generic at the end of your round.

Alternatively, all things are reset at the end of the round. Your ambient_generic should stop playing on its own.
 

lucky

¯\_(ツ)_/¯
May 25, 2009
583
145
Well you have the cap enabled by a logic timer right? You can just tell the timer to start the ambient_generic, and then I guess from the control point you can tell OnCapTeam1 as well as OnCapTeam2 to tell the ambient_generic to stop?
 

JMRboosties

L2: Junior Member
Jun 3, 2009
98
2
team_control_point_master has outputs for end of round events, I believe. By placing one of those you should be able to end the ambient_generic at the end of your round.

Alternatively, all things are reset at the end of the round. Your ambient_generic should stop playing on its own.

Yea, it doesn't stop playing though...

Well you have the cap enabled by a logic timer right? You can just tell the timer to start the ambient_generic, and then I guess from the control point you can tell OnCapTeam1 as well as OnCapTeam2 to tell the ambient_generic to stop?

I tried this but it didn't work.

EDIT: Yea I tried that I now remember, both with the control point and t_c_p_master... no luck
 

lana

Currently On: ?????
aa
Sep 28, 2009
3,075
2,778
You can't stop a nonlooping sound.