Difference between revisions of "IsFastTravelEnabled - 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 if fast travel is currently enabled or not. == Syntax == <source lang="papyrus"> bool…')
 
imported>Chesko
 
Line 14: Line 14:


== Return Value ==
== Return Value ==
If fast travel is currently enabled or not.
True if fast travel is currently enabled; False otherwise.


== Examples ==
== Examples ==

Latest revision as of 14:53, 8 March 2012

Member of: Game Script

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

Syntax[edit | edit source]

bool Function IsFastTravelEnabled() native global

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

True if fast travel is currently enabled; False otherwise.

Examples[edit | edit source]

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

See Also[edit | edit source]