Configuring Teleport Scripts
Last updated
Last updated
Teleports any user that collides with the scripted object to a set of given coordinates within the same experience.
To change the destination coordinates:
Select the scripted object.
Click the Properties button on the scripted object to open the Properties panel.
Under Script Settings, enter values for Destination X, Destination Y, and Destination Z.
De-select the object in order to save the destination values.
Teleports any user that collides with the scripted object to another experience.
To change the destination experience:
Select the scripted object.
Click the Properties button on the scripted object to open the Properties panel.
Under Script Settings, enter values for Dest. Scene and Dest. Scene Owner.
De-select the object in order to save the destination values.
You can find an experience's Destination Scene name and Scene Owner by copying and analyzing the destination experience's URL.
If the destination is listed in the Atlas, you can obtain its URL by clicking the experience's portrait to see more information, then clicking the Copy URL button to copy the experience's URL to your computer's clipboard.
Once you have the destination experience's URL, you can figure out the scene name and owner's Avatar ID. The owner's Avatar ID appears in the URL after "https://atlas.sansar.com/experiences/", and the destination scene name appears after the Avatar ID.
For example, if an experience's URL is: "https://atlas.sansar.com/experiences/jeremy-fbcb/jeremy-s-sandbox", the owner's Avatar ID is "jeremy-fbcb", and the destination scene name is "jeremy-s-sandbox".
How to add a script to one of your objects
For information about adding a script to an object, see Uploading and Adding Scripts.
If the destination experience is one of your projects that is not listed in the Atlas, you can access its URL in My Projects by clicking More Options and then choosing Copy URL to copy the experience's URL to your computer's clipboard.
Enter values for Teleport Destination X, Y, and Z.
Enter a Destination Scene name and the scene owner's Avatar ID.