Teleport_Line

From ZDoom Wiki
Jump to navigation Jump to search

215:Teleport_Line (thisid, destid, flip)

Error.gif
Warning: This special is not fully supported by the UDMF map format. Certain parameters, noted below, have been made obsolete by the ability to directly specify properties within the linedef structure. These parameters should be set to 0 when using the UDMF format.


  • thisid: Line ID of this line. Obsolete in UDMF.
  • destid: Line ID of destination line
  • flip: Set this to 1 to flip the teleported thing 180 degrees

Silently teleports a thing between two lines. A pair of lines with this special can share the same id (thisid and destid are the same) because a line will never teleport to itself. This special also behaves like Line_SetIdentification by setting the line ID of the any lines it is used on. Note: Cannot be used directly in ACS scripts but can be set to lines with SetLineSpecial.

Examples

Nuvolachalk.png Note: This article lists no examples. If you make use of this feature in your own project(s) or know of any basic examples that could be shared, please add them. This will make it easier to understand for future authors seeking assistance. Your contributions are greatly appreciated.


Conversions from linedef types

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

Type Conversion Trigger
MiniBoomLogoIcon.pngBoom 243:W1 Teleport Line Teleport_Line (tag, tag, 0) Player Cross, Monsters Activate
MiniBoomLogoIcon.pngBoom 244:WR Teleport Line Teleport_Line (tag, tag, 0) Player Cross, Repeatable, Monsters Activate
MiniBoomLogoIcon.pngBoom 262:W1 Teleport Line (Reversed) Teleport_Line (tag, tag, 1) Player Cross, Monsters Activate
MiniBoomLogoIcon.pngBoom 263:WR Teleport Line (Reversed) Teleport_Line (tag, tag, 1) Player Cross, Repeatable, Monsters Activate
MiniBoomLogoIcon.pngBoom 264:W1 Teleport Line Monsters Only (Reversed) Teleport_Line (tag, tag, 1) Monster Cross
MiniBoomLogoIcon.pngBoom 265:WR Teleport Line Monsters Only (Reversed) Teleport_Line (tag, tag, 1) Monster Cross, Repeatable
MiniBoomLogoIcon.pngBoom 266:W1 Teleport Line Monsters Only Teleport_Line (tag, tag, 0) Monster Cross
MiniBoomLogoIcon.pngBoom 267:WR Teleport Line Monsters Only Teleport_Line (tag, tag, 0) Monster Cross, Repeatable