Is it possible, if so how, to let’s say from one experience’s in-game “door” or “portal” or some such to “teleport” a player from it to another game/experience? In the context of Roblox Studio, while developing, it’d be essentially transitioning a player from from rbxl to another. Can such “calls” be made?
Not without an external server, no, you can’t communicate cross-experience or cross-file. In the case of teleporting you also can’t teleport to “another place file”.
You can teleport to other experiences as long as you have Third Party Teleports
enabled in your Game Settings. You can also send data through a teleport, other than you cannot communicate with another experience without an external middle man.
@colbert2677 @Synteuro – thank you for your replies, esp. about the teleports. Maybe the latter could prove a solution; I’ll check it out! I am assuming if I publish two .rbxl to a group with 3rd party teleports say I could use that feature to move players between them, correct?
Could you elaborate on the “external” server/middleman? What would that external server do in such cases? How would that be different from the 3rd party teleports?
I don’t know if this is what you’re looking for but if you own both games then you don’t need third party teleports. Only if you don’t own both games.
About the teleportation itself you can probably just use teleport service.
Something like this
local TeleService = game:GetService("TeleportService")
local GameId = 123456789 --replace with the game Id of the game you want to teleport to
TeleService:Teleport(player, GameId)
Sorry if this is not what you’re looking for. I may have misunderstood.
In the initial setup it’d be indeed the case both would be “owned” by me. Thanks for the tip.