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:
Type | Conversion | Trigger |
---|---|---|
![]() | Teleport(0, tag) | Player Cross, Monsters Activate |
![]() | Teleport(0, tag) | Player Cross, Monsters Activate |
![]() | Teleport(0, tag) | Player Cross, Repeatable, Monsters Activate |
![]() | Teleport(0, tag) | Player Cross, Repeatable, Monsters Activate |
![]() | Teleport(0, tag) | Monster Cross |
![]() | Teleport(0, tag) | Monster Cross |
![]() | Teleport(0, tag) | Monster Cross, Repeatable |
![]() | Teleport(0, tag) | Monster Cross, Repeatable |
![]() | Teleport(0, tag) | Player Use, Monsters Activate |
![]() | Teleport(0, tag) | Player Use, Repeatable, Monsters Activate |
![]() | 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.