EnableFastTravel - Game
Revision as of 09:39, 23 February 2015 by imported>Terra Nova2 (→Notes: changed note a bit for clarity.)
Member of: Game Script
Enables or disables the player's ability to fast travel.
Syntax[edit | edit source]
Function EnableFastTravel(abEnable = true) native global
Parameters[edit | edit source]
- abEnable: If true, enables fast travel. Otherwise disables it.
- Default: True
Return Value[edit | edit source]
None.
Examples[edit | edit source]
; Enable fast travel
Game.EnableFastTravel()
; Disable fast travel
Game.EnableFastTravel(false)
Notes[edit | edit source]
- Fast travel is reenabled automatically when the player is moved via MoveTo - ObjectReference or SetPosition - ObjectReference.