IsFastTravelControlsEnabled - Game
Revision as of 15:40, 25 June 2012 by imported>DarkruneDK (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="papyrus">...")
Member of: Game Script
Checks to see whether or not fast travel is allowed by script.
SyntaxEdit
bool Function IsFastTravelControlsEnabled() native global
ParametersEdit
None.
Return ValueEdit
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.
ExamplesEdit
; Can the player fast travel from here?
if Game.IsFastTravelControlsEnabled()
Debug.Trace("Scripts have not disabled fast travel!")
endIf