Teleport

From ZDoom Wiki

Jump to: navigation, search

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.

Personal tools