User Tools

Site Tools


Sidebar

Torchmodders Site


Wiki Navigation

teleport_object

Teleport Object


Description

This Level Object is used to Teleport the Player to a location in the current level. The Position and Orientation properties determine where the Player is teleported and what direction they are facing. The “Activate Teleporter” Input event must be fired by a Unit Trigger, Player Box Trigger, or Player Sphere Trigger to properly pass the Player to the Teleport object.

Location

Right-click on an empty space in the Layout Scene Manager and choose Logic > Teleport from the list.

Properties

Name Type Description Read Only
Position
POSITION CVector3 Position by X,Y,Z world coordinates.
ORIENTATION
FORWARD CVector3 Forward by X,Y,Z.
RIGHT CVector3 Right by X,Y,Z.
UP CVector3 Up by X,Y,Z.
PROPERTIES
ENABLED bool Set the Teleport object enabled or disabled.

Input Events

  • Activate Teleport
    • Teleport the Player to the Position of the Teleport object.
  • Enable
    • Enable the Teleport object. The Teleport object will accept “Activate Teleport” Input events.
  • Disable
  • Disable the Teleport object. The Teleport object will not accept “Activate Teleport” Input events.

Output Events

  • Activated
    • This event will fire when the Teleport object receives a “Activate Teleport” Input event.
teleport_object.txt · Last modified: 2019/07/09 10:01 by anarch16sync