DisableButton

From GECK
Jump to: navigation, search


A function added by the Lutana NVSE plugin, now part of the JIP NVSE Plugin.

Description

Prevents the game from registering input from a button. (Script functions will still register the input.) Multiple buttons can be specified at once.

Syntax

[help]
(none) DisableButton Button:int

Example

DisableButton 15	; disable the d-pad
DisableButton 63487	; disable all buttons 

XBox Controller Button Codes

1     : DPAD_UP
2     : DPAD_DOWN
4     : DPAD_LEFT
8     : DPAD_RIGHT
16    : START
32    : BACK
64    : LEFT_THUMBSTICK
128   : RIGHT_THUMBSTICK
256   : LEFT_SHOULDER (LB)
512   : RIGHT_SHOULDER (RB)
1024  : XBOX_GUIDE
4096  : BUTTON_A
8192  : BUTTON_B
16384 : BUTTON_X
32768 : BUTTON_Y


See Also