Ajedi32
|
  |
| Joined: 21 May 2008 |
| Total Posts: 1029 |
|
|
| 26 May 2014 03:42 PM |
It's been quite a while since I was last on Roblox, and a lot of great stuff has come out since then. One such thing is place teleports. Apparently now there's [a way to Teleport players between places](http://wiki.roblox.com/index.php?title=TeleportService_Guide).
That's great, but for the game I have in mind I need to have very fine-grained control over which players are let into which servers (or as Roblox seems to call them "place instances"). Is there a way to explicitly teleport a player or group of players to a new place instance with no other players in it? |
|
|
| Report Abuse |
|
|
lupine
|
  |
| Joined: 24 Jun 2008 |
| Total Posts: 3561 |
|
|
| 26 May 2014 03:55 PM |
I've never used it before, nor tested with it, but I do believe http://wiki.roblox.com/index.php?title=CreatePlaceAsync_(Method) is what you want. |
|
|
| Report Abuse |
|
|
Ajedi32
|
  |
| Joined: 21 May 2008 |
| Total Posts: 1029 |
|
|
| 26 May 2014 04:03 PM |
| That could work. I could create a new, separate place for every server that I want teleport players to. Really though, I'd prefer to just manage the servers (place instances) themselves. Is that not possible? |
|
|
| Report Abuse |
|
|
lupine
|
  |
| Joined: 24 Jun 2008 |
| Total Posts: 3561 |
|
|
| 26 May 2014 04:07 PM |
As it turns out, maybe. Again, I haven't played around with any of these features, so I'm just going to link them to you:
http://wiki.roblox.com/index.php?title=TeleportService specifically, http://wiki.roblox.com/index.php?title=TeleportToPlaceInstance_(Method) http://wiki.roblox.com/index.php?title=GetPlayerPlaceInstanceAsync_(Method)
|
|
|
| Report Abuse |
|
|
Ajedi32
|
  |
| Joined: 21 May 2008 |
| Total Posts: 1029 |
|
|
| 26 May 2014 04:13 PM |
Cool. I saw those already. They were discussed on the page I linked to.
Unfortunately, it seems from those method signatures that the only way to "control" which server (place instance) a player gets teleported to is to first teleport one player to any random server, and then teleport all the other players to the same place instance that player was teleported to. Unfortunately, that doesn't really solve my problem.
Thanks for trying to help though. :) |
|
|
| Report Abuse |
|
|
|
| 26 May 2014 04:13 PM |
| Just create a new Place Instance it is the best way to do it. |
|
|
| Report Abuse |
|
|