Teleport
Jump to navigation
Jump to search
Note: This function is for ACS. For the ZScript function of the same name see Teleport (ZScript). |
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
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.
Conversions from linedef types
The following Doom map format types can be converted as Teleport:
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.