TimedTeleport.md 581 B

Timed Teleport

Teleports a player a moment after they walk into a trigger.

Requires:

  • Collider set to Is Trigger

Teleport Target - Type: Transform

  • Where the player goes, facing the way it faces.

Delay - Type: Float

  • Seconds between entering and teleporting.
  • Default Value: 1.0

Cancel On Exit - Type: Boolean

  • Leaving the trigger before the delay is up cancels the teleport.
  • Default Value: false

Script Behavior:

  • Only the player who walks in is teleported. Walking in again while a teleport is waiting doesn't queue another.