Cyber Engine Tweaks
Modding
Dictionary
Other
External docs
Other Wikis
Powered By GitBook
TeleportationFacility
Documents the TeleportationFacility class and its functions.
NOT DOCUMENTED We currently don't have information on how these functions work. They are being documented here for visibility.

Invoking TeleportationFacility

To invoke the teleportation facility, use the following Global function:
1
tf = Game.TeleportationFacility()
Copied!

Sub-functions

Teleport

Teleport
Info & Usage
1
Teleport(objectToTeleport : ref:GameObject, position : Vector4, orientation : EulerAngles);
Copied!
Example
1
tp = Game.GetTeleportationFacility()
2
pos = Vector4.new(-1184.97, 1591.66, 31.31, 1)
3
rot = EulerAngles.new(0,0,0)
4
tp:Teleport(Game.GetPlayer(), pos, rot)
Copied!

TeleportToNode

TeleportToNode
Info & Usage
1
TeleportToNode(objectToTeleport : ref:GameObject, nodeRef : NodeRef);
Copied!
Last modified 9mo ago