Difference between revisions of "FastTravel - Game"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Terra Nova2
m
imported>Cdcooley
(exteriors (at least some of them) do work)
Line 25: Line 25:
*Scripted fast-travel does not save the player's game.
*Scripted fast-travel does not save the player's game.


*If akDestination is located on an exterior cell, a loading screen will play and the player will stay on the same spot.
*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.
*This function doesn't always work as intended. An alternative is using [[MoveTo - ObjectReference]]. Due note however that MoveTo does not advance time.

Revision as of 04:04, 31 March 2015

Member of: Game Script

Fast-travels the player to the specified ObjectReference's location.

Syntax

Function FastTravel(ObjectReference akDestination) native global

Parameters

  • akDestination: The object to fast travel to.

Return Value

None.

Examples

; Fast-travel home
Game.FastTravel(HomeMarker)

Notes

  • Scripted fast-travel does not save the player's game.
  • 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.

See Also