Teleport_NewMap
Teleports the player to a new map and to the player start spot whose arg0 matches pos.
74:Teleport_NewMap (map, pos, face)
- map: Levelnum of the map to teleport to
- pos: Corresponds to destination player start spot arg0
- face: If TRUE (> 0) then the player will retain the direction they were facing from the last map
Example:
Teleport_NewMap (2, 0, 1);
In Doom2 wads in Hexen format (Zdoom) the above line means teleport the player to map02 (Underhalls) and the player 1 start (0) keeping the direction they were facing on the previous map.
This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.