Teleports

Teleports are the "faster way" for a Sim from moving from Point A to Point B. Instead of walking, the Sim will use a specified teleport to reach his/her destination.

There are 3 types of teleports (based on Interaction names), two of which relies on the Teleport Tuning and Enums.


 * TeleportHereInteraction
 * GoHereSuperInteraction (Tuned)
 * TeleportStyleSuperInteraction

TeleportHereInteraction
The TeleportHereInteraction is a Debug Interaction to teleport a Sim to a selected terrain position (TDESC). This interaction can be used outside of debug usage such as the Wellness Teleport introduced in GP02: Spa Day.

The Interaction Tuning can be specified to have an animation should it be needed, it is advised that  in   be used along with a VFX (if needed) to show the transition of the teleport.

GoHereSuperInteraction (Old Teleport System)
The GoHereSuperInteraction is a Test and interaction function for the Go Here Interaction (TDESC). It is predominantly used as the basis for a Sim to walk from point A to point B. The interaction can be tuned with a  in   to make a teleport that is referenced from teleport.teleport-tuning and teleport.teleport-enums. Example of a  that uses a tuned   from the now defunct teleportHere_VampireMist Interaction Tuning.

This teleport system is previously used by the Vampire Teleports (Bat & Mist), but it has since been moved over to the TeleportStyleSuperInteraction as of Patch 1.68.

For permanent or always active teleports, a trait with a buff can be used where the  can be specified inside the buff. Example of a tuned  that can be used inside a buff.

TeleportStyleSuperInteraction (New Teleport System)
The TeleportStyleSuperInteraction is a SuperInteraction that implements GoHere, which utilizes teleport styles to get a Sim from one point to another, while implementing other space- reserving utilities, such as jigs (TDESC). The interaction can be tuned with a specified  and setting   to True (if needed). This interaction requires a regular SuperInteraction to call this interaction. Example of the tunings used for the TeleportStyleSuperInteraction.

The interaction also needs a TestSet that test the distance of the Sim and the picked terrain in order to prevent an issue with certain objects (mainly the cauldron). In regards the this issue, you can look at this Answers HQ issue that is regarding Cauldron Issues for Potion Making (TwelfthDoctor1 Posts). An example of a distance test that can be used in any TunableTestSet, TestGlobals, etc.

Arguably, this teleport system is slower compared to a tuned GoHereSuperInteraction as this Teleport System uses an interaction to call another interaction, which slows down the running of interactions and the time for the teleport to commence.

For permanent or always active teleports, a trait can be used where the  can be specified inside the trait. Example of a tuned  that can be used inside a trait.

Teleport Tuning
The Teleport Tuning holds all the data used to run a teleport such as the,  ,  , etc. Example of a section of the Teleport Tuning.

Teleport Enums
Teleport Enums are the identifiers of the teleport, it is used in the Teleport Tuning to allocate on which teleport should be used, etc.

Similar to Tag Tuning, a custom enum can only be made by script.

Below is an example of how to add and inject a custom Teleport Enum. Example of a Custom Teleport Enum Injection - Similar to Scumbumbo's Version of Tag Enum Injection