IsFastTravelEnabled - Game

Member of: Game Script

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

SyntaxEdit

bool Function IsFastTravelEnabled() native global

ParametersEdit

None.

Return ValueEdit

True if fast travel is currently allowed. It will return false if EnableFastTravel(false) has been called, if the player is in an interior, in combat, or any other condition that prevents fast travel.

ExamplesEdit

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

See AlsoEdit