wiki.sine.space | sinespace

Difference between revisions of "Components/TeleportLocal"

From wiki.sine.space
Jump to: navigation, search
Line 1: Line 1:
 
Teleport Local allows you to set up a teleport from one point within your region to another in your region.
 
Teleport Local allows you to set up a teleport from one point within your region to another in your region.
  
1 - Create you teleport pad object and add the component Teleport Local Base Internal to it.
+
Add an object into your hierarchy to be the starting point for your teleport system. Click on this object in the hierarchy, and click on '''Add Component'''.
 +
Search for '''TeleportLocalBaseInternal''' in the search bar and click on it to add it to the object.  
  
2 - Create a second teleport pad and give it a name, place it in your scene.
+
Add another object into your hierarchy to be the end point of your teleport system. Drag this item from your hierarchy into the '''Destination''' box under the Teleport Local component.  
  
3 - From the Hierarchy, drag the second teleport pad object to the 'Destination' field in the Inspector, it will link your object in the scene to the script.
+
[[File:Teleportlocal.jpg]]
  
[[File:TeleportLocalComp.JPG|thumb|TeleportLocal}]]
+
When you upload your region, the teleport objects will allow you to travel from where you have placed the first teleport to a spot in your region where you have placed the second teleport.  
  
Note: On the image, double click it to go to a larger view.
+
 
 +
{{Component Navbox}}

Revision as of 09:11, 23 September 2016

Teleport Local allows you to set up a teleport from one point within your region to another in your region.

Add an object into your hierarchy to be the starting point for your teleport system. Click on this object in the hierarchy, and click on Add Component. Search for TeleportLocalBaseInternal in the search bar and click on it to add it to the object.

Add another object into your hierarchy to be the end point of your teleport system. Drag this item from your hierarchy into the Destination box under the Teleport Local component.

Teleportlocal.jpg

When you upload your region, the teleport objects will allow you to travel from where you have placed the first teleport to a spot in your region where you have placed the second teleport.