Source SDK

Source SDK

How to Teleport ALL Players in the Map?
Hi, I just have a question:

"How can I teleport all players in the map?"

Currently my map has multiple rooms and is very large, so I don't want to spend the time making trigger brushes for each and every room/area. Do i make a huge trigger brush that surrounds the map and make it hollow?
< >
正在显示第 1 - 7 条,共 7 条留言
2014 年 10 月 3 日 下午 1:24 
Sounds like you will have to make a huge trigger brush.

1. To make a teleporter create a brush then press ctrl + T and make it a trigger_teleport. This will be the teleport entrance. Players will need to be inside this to teleport.

2. Create an entity and make it an info_teleport_destination. Give it a name. This is be the teleport exit.

3. Go back to your trigger_teleprort, in the class info tab make the remote destination to the name of your info_teleport_destination. Then go into the flags tab and check which thing you want to teleport

Hope it helps. Tell me more about your situation and I will try and help more.
Well there be errors if i just make one huge trigger brush without making it hollow, can I make it hollow? Or will it not work?
2014 年 10 月 3 日 下午 2:16 
I don't think there will be problems with a huge trigger brush. Yes you can make it hollow. You will have to test each method out and see which works best.
Sincerely I don't understand what you mean. If you create a single trigger_teleport all players were teleported to the same info_teleport_destination, and if 2 or more players are teleported in the same time, they will be stucked one into another.
No im creating a map for gmod ZS, collision between humans/teamates is disabled
2014 年 10 月 3 日 下午 7:07 
You could also use an output affecting "player" as the entity name, which targets every player in the server.
引用自 schnedwob
You could also use an output affecting "player" as the entity name, which targets every player in the server.
thank you
< >
正在显示第 1 - 7 条,共 7 条留言
每页显示数: 1530 50