Difference between revisions of "FastTravel - Game"
Jump to navigation
Jump to search
imported>BarbasTheDog m (after some testing, I concluded it only works if you're moving into an exterior cell.) |
imported>Terra Nova2 m |
||
Line 26: | Line 26: | ||
*If akDestination is located on an exterior cell, a loading screen will play and the player will stay on the same spot. | *If akDestination is located on an exterior cell, a loading screen will play and 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 == | == See Also == | ||
*[[Game Script]] | *[[Game Script]] |
Revision as of 09:16, 31 December 2014
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.
- If akDestination is located on an exterior cell, a loading screen will play and 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.