Teleporter
A device used to transport players across regions. When powered and triggered, it will teleport all players in the beam to the given coordinates and teleporter id. It will warp the player to a teleporter in the region with the given teleporter id.
When warping to a teleporter inside of a planet, set the last value to true. For example, 50, -50, 85, -75, true
Make sure you set the correct coordinates OR YOU WILL BE STRANDED!
Costs 1000 energy per teleport. Teleporter uses Energy regardless if a player is on the Teleporter at the moment it gets triggered.
It is a craftable and spawnable non-flammable solid.
It cannot be resized.
At its default size (8x2x8) it has a durability of 1.
By default, its colour is #f8f8f8.
It requires 1 HyperDrive
, 50 Quartz
, 1 Transporter
, and 30 Wire
to be crafted.
Configurables
Coordinates
The coordinates to your Destination. It is a Coordinates
.
ForceLocalTeleport
Whether to only attempt to teleport to teleporters within the same region, ignoring the "Coordinates" configuration. It is a boolean
.
TeleporterID
The ID of the teleporter at the goal coordinates to teleport directly to. It is a number
.
It ranges between 1 and 999. It increments by 1.
Events
Triggered(otherPart)
Fires when the object is triggered and provides a reference to the part that triggered it.
If a Microcontroller
indirectly initiated the triggering of an object, it will return the object rather than the Microcontroller
, whereas in the case of directly triggering the object (i.e., calling :Trigger
, but not TriggerPort
), it will return the microcontroller.
The trigger source remains unchanged if the trigger is sent through something such as an Antenna
, but will be set to a RemoteControl
if one is present along the trigger line.
The otherPart parameter is the source of the trigger signal. It is a PilotObject
.