Multiple Trigger Question

Avatar
dhavalmistry
107 Posts
Posted Jul 23, 2011
I am attempting to make a coop map and I was wondering how would I check if blue or orange set off the trigger?
Advertisement
Registered users don’t see ads! Register now!
Avatar
WinstonSmith
940 Posts
Posted Jul 23, 2011
Replied 38 minutes later
Trigger_playerteam. It has OnStartTouchBluePlayer, OnStartTouchOrangePlayer, OnEndTouchBluePlayer, and OnEndTouchOrangePlayer outputs for just this.
Avatar
dhavalmistry
107 Posts
Posted Jul 24, 2011
Replied 57 minutes later
great thanks!
Avatar
Marlovious
111 Posts
Posted Jul 24, 2011
Replied 8 hours later

WinstonSmith wrote:
Trigger_playerteam. It has OnStartTouchBluePlayer, OnStartTouchOrangePlayer, OnEndTouchBluePlayer, and OnEndTouchOrangePlayer outputs for just this.

This along with a Logic_coop_manager. This is what valve uses for the coop door logic.

Avatar
ChickenMobile
2,460 Posts
Posted Jul 24, 2011
Replied 15 minutes later

Marlovious wrote:
WinstonSmith wrote:

Trigger_playerteam. It has OnStartTouchBluePlayer, OnStartTouchOrangePlayer, OnEndTouchBluePlayer, and OnEndTouchOrangePlayer outputs for just this.

This along with a Logic_coop_manager. This is what valve uses for the coop door logic.

A coop manager is primarily used for logic that involves finding if both the bots activate one thing (i.e. the airlocks and the disassemblers) not to check if one bot activates something.

Remember that prop_buttons and prop_floor_buttons also have inputs for when either the blue or the orange bot steps on them.

Avatar
dhavalmistry
107 Posts
Posted Jul 24, 2011
Replied 1 hour later
thanks you guys!
Avatar
dhavalmistry
107 Posts
Posted Aug 01, 2011
Replied 8 days later
Is there a way to display a game hint to each player (at different times) whenever they trigger it?
Avatar
ChickenMobile
2,460 Posts
Posted Aug 01, 2011
Replied 1 hour later
You talking about text appearing on the screen? You would use a game_text, and use carefully because text is very annoying when used not in the right places. In fact: avoid them completely unless you have credits.

Using the trigger_player_team, activate the desired game_text using the OnStartTouchOrange/Blue input. I think there is a flag that makes it so then the activator is the only one that can see the text.

Advertisement
Registered users don’t see ads! Register now!
Avatar
dhavalmistry
107 Posts
Posted Aug 02, 2011
Replied 7 hours later

chickenmobile wrote:
Using the trigger_player_team, activate the desired game_text using the OnStartTouchOrange/Blue input. I think there is a flag that makes it so then the activator is the only one that can see the text.

I am using env_instructor_hint but in any case, I already tried what you suggested but it doesnt work....