Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Is server-to-server teleporting possible for the same game?

Asked by
LuaQuest 450 Moderation Voter
8 years ago

I'm very familiar with teleporting between places, however I've been trying to make it so you can teleport to a specific server. I have yet to figure out how this can be done, or if it's even possible. If anyone can direct me to something that can explain this, or if they can explain it themselves, I'd be very grateful. (Sorry I have no example code to provide, I just have no resources to create something like this from).

0
Could this be done with a port Id, or JobId? LuaQuest 450 — 8y
0
https://scriptinghelpers.org/questions/23695/is-there-any-api-for-server-differentiation What a coincidence, I just asked a similar question xD Legojoker 345 — 8y

1 answer

Log in to vote
1
Answered by
1waffle1 2908 Trusted Badge of Merit Moderation Voter Community Moderator
8 years ago

game.JobId to get the server's unique id

TeleportToPlaceInstance(placeId,jobId,player) to teleport a player to a specific server in the same game.

0
Thanks. LuaQuest 450 — 8y
Ad

Answer this question