Background for Fallout 4
Member of the InputEnableLayer script
voidfunctionEnableCamSwitch(boolabEnable=true)Native

Description

Wiki Description

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

Documentation Comment

Enables/disables the player's ability to switch the camera between 1st and 3rd person


Caveats


Parameters

boolabEnable=true

CK Wiki Description

If true, enables camera switching. Otherwise disables it.

  • Default:True

Examples

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

Auto-Generated Example

bool myBool__abEnable

myInputEnableLayer__toCallFunctionOn.EnableCamSwitch(myBool__abEnable)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.