EnableLooking - InputEnableLayer

Revision as of 17:54, 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 look around on this layer. == Syntax == <so...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Member of: InputEnableLayer Script

Enables or disables the player's ability to look around on this layer.

SyntaxEdit

Function EnableLooking(abEnable = true) native

ParametersEdit

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

Return ValueEdit

None.

ExamplesEdit

; Enable looking
myLayer.EnableLooking()


; Disable looking
InputEnableLayer myLayer = InputEnableLayer.Create()
myLayer.EnableLooking(false)

See AlsoEdit