Teleport

Teleports the activating thing to a new location. If tag is 0, it will use a random teleport destination out of those with the matching tid. This can be restricted to certain sectors if tag is non-0. If tid is 0 and tag is non-0, it will use the first teleport destination found in the first sector with the matching tag.

70:Teleport (tid, tag, nosourcefog)

  • tid: Thing ID of the destination spot
  • tag: Tag of the destination sector
  • nosourcefog: If non-zero, the teleport only spawns a teleport fog object at the destination but not the source of the teleportation

Conversions from linedef types

The following Doom map format types can be converted as Teleport:

TypeConversionTrigger
Doom 39:W1 TeleportTeleport(0, tag)Player Cross, Monsters Activate
Strife 39:W1 TeleportTeleport(0, tag)Player Cross, Monsters Activate
Doom 97:WR TeleportTeleport(0, tag)Player Cross, Repeatable, Monsters Activate
Strife 97:WR TeleportTeleport(0, tag)Player Cross, Repeatable, Monsters Activate
Doom 125:W1 Teleport Monsters OnlyTeleport(0, tag)Monster Cross
Strife 125:W1 Teleport Monsters OnlyTeleport(0, tag)Monster Cross
Doom 126:WR Teleport Monsters OnlyTeleport(0, tag)Monster Cross, Repeatable
Strife 126:WR Teleport Monsters OnlyTeleport(0, tag)Monster Cross, Repeatable
Boom 174:S1 TeleportTeleport(0, tag)Player Use, Monsters Activate
Boom 195:SR TeleportTeleport(0, tag)Player Use, Repeatable, Monsters Activate
Strife 231:WR Teleport (Silent Source)Teleport(0, tag, 1)Player Cross, Repeatable, Monsters Activate

Alias

In ZScript, this special is alternatively called TeleportSpecial. This alias was introduced to resolve a name conflict between the special and an actor function.

This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.