IsFastTravelControlsEnabled - Game

From the CreationKit Wiki
Revision as of 14:31, 5 November 2012 by imported>JLundin (Created page with "Category:Scripting Category:Papyrus '''Member of:''' Game Script Checks to see whether or not fast travel is allowed by script. == Syntax == <source lang="papyru...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: Game Script

Checks to see whether or not fast travel is allowed by script.

Syntax

bool Function IsFastTravelControlsEnabled() native global

Parameters

None.

Return Value

True if fast travel is currently allowed by script. It will return false if EnableFastTravel(false) has been called. But if not, it will still return true even if the game doesn't allow fast travel.

Examples

; Can the player fast travel from here?
if Game.IsFastTravelControlsEnabled()
  Debug.Trace("Scripts have not disabled fast travel!")
endIf

See Also