Please or Register to create posts and topics.

Multiple Trigger Question

I am attempting to make a coop map and I was wondering how would I check if blue or orange set off the trigger?

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

Image
Now with 100% more inline comments!

great thanks!

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.

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.

?????????????????????????????TWP Releases | My Workshop

thanks you guys!

Is there a way to display a game hint to each player (at different times) whenever they trigger it?

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.

?????????????????????????????TWP Releases | My Workshop
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....