Co_Op trigger
Make a trigger_playerteam and one math_counter, when player blue touch trigger, math_counter add 1, if he end touch, subrast 1, same for the orange, and in math counter put maxhit for 2, now, the output is "Onhitmax" do what you want.
Darkylight wrote:
._., XD, all night.Make a trigger_playerteam and one math_counter, when player blue touch trigger, math_counter add 1, if he end touch, subrast 1, same for the orange, and in math counter put maxhit for 2, now, the output is "Onhitmax" do what you want.
Well, thank you. Works great. I don't like it when something so simple caused me so much pain.
Marlovious wrote:
I believe you want to use a logic_coop_manager and trigger_playerteam. Look at the "instances/coop/coop_team_double_exit_door.vmf" instance to see how it works.
This is the better solution. The logic_coop_manager is made especially for firing outputs when both players touch a trigger etc.
chickenmobile wrote:
Marlovious wrote:I believe you want to use a logic_coop_manager and trigger_playerteam. Look at the "instances/coop/coop_team_double_exit_door.vmf" instance to see how it works.
This is the better solution. The logic_coop_manager is made especially for firing outputs when both players touch a trigger etc.
Yep, math_counter is simillar but for 1 or more conditions.