EnableSneaking - InputEnableLayer
Revision as of 17:56, 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 sneak on this layer. == Syntax == <source l...")
Member of: InputEnableLayer Script
Enables or disables the player's ability to sneak on this layer.
SyntaxEdit
Function EnableSneaking(abEnable = true) native
ParametersEdit
- abEnable: If true, enables sneaking. Otherwise disables it.
- Default: True
Return ValueEdit
None.
ExamplesEdit
; Enable sneaking
myLayer.EnableSneaking()
; Disable sneaking
InputEnableLayer myLayer = InputEnableLayer.Create()
myLayer.EnableSneaking(false)