team specific button output

lunarpumpkin

L2: Junior Member
Aug 31, 2016
72
15
lets say i have a button / prop (dosent really matter) on the map and i want to make it so that when a team shoot it, it add a point to that team but not the other, how do i achieve that?
 
Mar 23, 2013
1,013
347
filter_tfteam ? Just give the button this filter and only the specific team can activate it.

If both teams can be scored, to apply a filter on the button, instead give the filter_tf_team the input "TestActivator" and then the filter will send theouts "OnPass" and "OnFail" depending on what team shot it.

Now what do you mean with point? A CP? Points for PD gamemode? If it's the latter here is the solution: https://developer.valvesoftware.com/wiki/Tf_logic_player_destruction
 
Mar 23, 2013
1,013
347
well then just use the team filter on a button or breakable entity. Then they will only fire the outputs depending on what team the activator is.
 

lunarpumpkin

L2: Junior Member
Aug 31, 2016
72
15
can you elaborate on that? im nto sure i understand properly the instructions ont he first post