Difference between revisions of "EnableFastTravel - Game"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Rhavlovick
m (1 revision: Clobber re-import by Henning)
 
imported>Terra Nova2
m (→‎Notes: changed note a bit for clarity.)
 
Line 29: Line 29:


== Notes ==
== Notes ==
* Fast travel is reenabled automatically when the player is moved.
* Fast travel is reenabled automatically when the player is moved via [[MoveTo - ObjectReference]] or [[SetPosition - ObjectReference]].


== See Also ==
== See Also ==

Latest revision as of 09:39, 23 February 2015

Member of: Game Script

Enables or disables the player's ability to fast travel.

Syntax[edit | edit source]

Function EnableFastTravel(abEnable = true) native global

Parameters[edit | edit source]

  • abEnable: If true, enables fast travel. Otherwise disables it.
    • Default: True

Return Value[edit | edit source]

None.

Examples[edit | edit source]

; Enable fast travel
Game.EnableFastTravel()


; Disable fast travel
Game.EnableFastTravel(false)

Notes[edit | edit source]

See Also[edit | edit source]