EnableCamSwitch - InputEnableLayer

From Creation Kit
Jump to: navigation, search

Member of: InputEnableLayer Script

Enables or disables the player's ability to switch camera from first to third and back on this layer.

Syntax

Function EnableCamSwitch(abEnable = true) native

Parameters

  • abEnable: If true, enables camera switching. Otherwise disables it.
    • Default: True

Return Value

None.

Examples

; Enable camera switching
myLayer.EnableCamSwitch()


; Disable camera switching
InputEnableLayer myLayer = InputEnableLayer.Create()
myLayer.EnableCamSwitch(false)

See Also