Please or Register to create posts and topics.

Coop teleport

I'm trying to make a brush entity that when Atlas touches it it will teleport him, and when P-body touches it it will teleport him to a different location. I'm trying to reverse engineer the new dlc lobby but it's really messy and hard to understand. Anyone knows what entities should I use and how?

ImageImageImage
Instance: Co-Op Tube Ride

There's an entity that teleports clients but not blue or orange
trigger_teleport

Theres a console command for teleporting orange and blue though
ent_teleport blue or ent_teleport red
They will teleport anywhere your cross in the middle is pointing at
Not crosshair.

Use a "trigger_playerteam" and use the "OnStartTouchBluePlayer" and "OnStartTouchOrangePlayer" to activate trigger_teleports. One for blue and one for orange. Don't forget to let the teleports disabled after they OnEndTouched the trigger_playerteam.

Skotty wrote:
Use a "trigger_playerteam" and use the "OnStartTouchBluePlayer" and "OnStartTouchOrangePlayer" to activate trigger_teleports. One for blue and one for orange. Don't forget to let the teleports disabled after they OnEndTouched the trigger_playerteam.

Thanks, but why should I disable the teleport?

EDIT: Never mind, I got why and it works perfectly.

Thanks a lot

ImageImageImage
Instance: Co-Op Tube Ride