TeleportInSector
78:TeleportInSector (tag, source tid, destination tid, fog?, group tid)
tag: Tag of the sector from which will be teleported. source tid: The spot relative to which to teleport. destination tid: The destination spot relative to which to spawn. fog?: Spawn with or without fog. (0 = no fog, 1 = fog) group tid: The TID of the thing(s) to teleport. If 0, teleports all actors in the sector
Teleport a group of actors in a sector. Source_tid is used as a reference point so that they end up in the same position relative to dest_tid. Group_tid can be used to not teleport all actors in the sector.
Note that the "destination spot" must be a Teleport Destination. Using a Map Spot for the destination will not work. Also, if the special is to be used for teleportation while the actor is in a moving elevator, use the Destination (z-preserving, with gravity) thing. This is particularly true for use with elevators in GZDooM that use the Sector_Set3DFloor special for their floors and ceilings. Otherwise the actor ends up on the floor of the sector in which the elevator is rising/lowering.