portal64-still-alive/documentation/levels/cutscenes/teleport_player.md
Matt Penny 1a91f840c0 Document more cutscene steps
* set_signal
* clear_signal
* wait_for_signal
* teleport_player
* load_level
* label
* goto
* start_cutscene
* stop_cutscene
* wait_for_cutscene
2024-04-13 01:13:07 -04:00

826 B

teleport_player

Moves the player to a specified location.

Syntax

teleport_player SOURCE_LOCATION_NAME TARGET_LOCATION_NAME

Arguments

Name Description
SOURCE_LOCATION_NAME The location the player is being teleported from. Used to calculate relative position and rotation for the destination.
TARGET_LOCATION_NAME The location to teleport the player to. They are positioned with the same relative position and rotation they had from the source.