|
Post by kkcomics on Jun 3, 2010 17:29:57 GMT
Hi again everyone -
I'm working on a map that includes a trigger_teleport in the spawn room, and it teleports the player to a sort of arena. Since it's in the spawn room, I'm wondering if two players use the teleporter at the same time, they will go to the teleport destination stuck to each other. My question is: Is it possible to have multiple adjacent teleport destinations for a single teleporter? If so, how is it done?
|
|
|
Post by Zeph on Jun 3, 2010 19:05:22 GMT
If you create a trigger_multiple and wrap it around the info_teleport_destination, you can add the outputs:
OnTouching -> "Teleporter" -> disable OnNotTouching -> "Teleporter -> enable
where "Teleporter" is the name of your trigger_teleport.
This will make the teleporter only work if no one is at the destination, reducing the chance people get stuck.
To make a teleporter have multiple destinations, you can do the above, but have multiple trigger_teleports all overlapping each other, and their individual destinations disable their own teleporters with trigger_multiples.
Note: OnTouching and OnNotTouching only work with orange box games. for CSS, you'll have to do it differntly.
|
|