EnableFastTravel - InputEnableLayer
(Redirected from EnableFastTravel - Game)
Jump to navigation
Jump to search
Member of: InputEnableLayer Script
Enables or disables the player's ability to fast travel on this layer.
Syntax[edit | edit source]
Function EnableFastTravel(abEnable = true) native
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
myLayer.EnableFastTravel()
; Disable fast travel
InputEnableLayer myLayer = InputEnableLayer.Create()
myLayer.EnableFastTravel(false)