EnableFastTravel - InputEnableLayer

From Creation Kit
Jump to: navigation, search

Member of: InputEnableLayer Script

Enables or disables the player's ability to fast travel on this layer.

Syntax

Function EnableFastTravel(abEnable = true) native

Parameters

  • abEnable: If true, enables fast travel. Otherwise disables it.
    • Default: True

Return Value

None.

Examples

; Enable fast travel
myLayer.EnableFastTravel()


; Disable fast travel
InputEnableLayer myLayer = InputEnableLayer.Create()
myLayer.EnableFastTravel(false)

See Also