Teleport_NoFog

From ZDoom Wiki
Jump to: navigation, search

71:Teleport_NoFog (tid, useangle, tag, keepheight)


  • tid: Thing ID of the destination spot
  • useangle: specifies how the angle of the teleport exit is used
  • tag: Tag of destination sector
  • keepheight: if set, the thing will keep the same height relative to the floor


Teleports the activating thing to a new location, but without fog or a delay.

There are different modes how the teleport exit's angle is used:

  • 0: Hexen-compatible: Do not change angle and velocity at all.
  • 1: Strife-compatible: Always use the teleport exit's angle
  • 2: Boom-compatible: Adjust relatively to the teleport exit's angle, but in the wrong direction. This replicates a Boom bug that never got fixed.
  • 3: Boom-fixed: Adjust relatively to the teleport exit's angle.

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-zero. If tid is 0 and the tag is non-zero, it will use the first teleport destination found in the first sector with the matching tag.

Conversions from linedef types

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

Type Conversion Trigger
MiniStrifeLogoIcon.pngStrife 185:WR Teleport (Silent) Teleport_NoFog(0, 1, tag) Player Cross, Repeatable, Monsters Activate
MiniBoomLogoIcon.pngBoom 207:W1 Teleport Preserve Direction (Silent) Teleport_NoFog(0, 2, tag, 1) Player Cross, Monsters Activate
MiniBoomLogoIcon.pngBoom 208:WR Teleport Preserve Direction (Silent) Teleport_NoFog(0, 2, tag, 1) Player Cross, Repeatable, Monsters Activate
MiniBoomLogoIcon.pngBoom 209:S1 Teleport Preserve Direction (Silent) Teleport_NoFog(0, 2, tag, 1) Player Use, Monsters Activate
MiniBoomLogoIcon.pngBoom 210:SR Teleport Preserve Direction (Silent) Teleport_NoFog(0, 2, tag, 1) Player Use, Repeatable, Monsters Activate
MiniBoomLogoIcon.pngBoom 268:W1 Teleport Monsters Only (Silent) Teleport_NoFog(0, 2, tag, 1) Monster Cross
MiniBoomLogoIcon.pngBoom 269:WR Teleport Monsters Only (Silent) Teleport_NoFog(0, 2, tag, 1) Monster Cross, Repeatable