IsFastTravelEnabled - Game

From Creation Kit
Jump to: navigation, search

Member of: Game Script

Checks to see if fast travel is currently enabled or not.

Syntax

bool Function IsFastTravelEnabled() native global

Parameters

None.

Return Value

True if fast travel is currently enabled; False otherwise.

Examples

; Can the player fast travel from here?
if Game.IsFastTravelEnabled()
  Debug.Trace("Player can fast travel!")
endIf

See Also