Difference between revisions of "IsFastTravelControlsEnabled - Game"

From the CreationKit Wiki
Jump to navigation Jump to search
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...")
 
imported>JustinOther
m (Affixed version requirement)
 
Line 1: Line 1:
[[Category:Scripting]]
[[Category:Scripting]]
[[Category:Papyrus]]
[[Category:Papyrus]]
'''Member of:''' [[Game Script]]
'''Member of:''' [[Game Script]] ''(Requires 1.8)''


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

Latest revision as of 23:10, 5 November 2012

Member of: Game Script (Requires 1.8)

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

Syntax[edit | edit source]

bool Function IsFastTravelControlsEnabled() native global

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

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[edit | edit source]

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

See Also[edit | edit source]