Teleport_NoFog
From ZDoom Wiki
71:Teleport_NoFog (tid, useangle, tag)
- tid: Thing ID of the destination spot
- useangle: if 0 the orientation of the teleported object is preserved.
- tag: Tag of destination sector
Teleports the activating thing to a new location, but without fog or a delay, and preserves the thing's facing angle relative to the triggering line and the destination spot. This can be overridden by passing a non-zero value as the second parameter. In this case the teleported object will face in the same direction as the teleport destination spot. 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.