Difference between revisions of "FastTravel - Game"

850 bytes added ,  08:29, 14 November 2020
no edit summary
imported>Rhavlovick
m (1 revision: Clobber re-import by Henning)
 
imported>Thingy Person
 
(5 intermediate revisions by 4 users not shown)
Line 23: Line 23:


== Notes ==
== Notes ==
Scripted fast-travel does not save the player's game.
*Scripted fast-travel does not save the player's game.
*If akDestination is a map marker with a fast travel marker set up via linked reference, this function will use that fast travel marker.
*In some cases, a loading screen will play but the player will stay on the same spot.
*This function doesn't always work as intended. An alternative is using [[MoveTo - ObjectReference]]. Due note however that MoveTo does not advance time.
* Neither FastTravel nor MoveTo will work properly if the player is currently ragdolling. If the map marker is in another worldspace, the player will go to their current coordinates in that worldspace; if the marker is in the same worldspace, the player's physics will glitch and carry them toward the marker until they stop ragdolling. To avoid these problems, you should call [[ForceRemoveRagdollFromWorld - ObjectReference]] on the player before trying to fast-travel.


== See Also ==
== See Also ==
*[[Game Script]]
*[[Game Script]]