EnableCamSwitch - InputEnableLayer

Revision as of 17:51, 12 February 2013 by imported>Plplecuyer (Created page with "Category:Scripting Category:Papyrus '''Member of:''' InputEnableLayer Script Enables or disables the player's ability to switch camera from first to third and back o...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Member of: InputEnableLayer Script

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

SyntaxEdit

Function EnableCamSwitch(abEnable = true) native

ParametersEdit

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

Return ValueEdit

None.

ExamplesEdit

; Enable camera switching
myLayer.EnableCamSwitch()


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

See AlsoEdit