Difference between revisions of "IsButtonHeld"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Gribbleshnibit8
(Created page with "{{Function |origin = LU |summary = Returns whether or not a button is held by HoldButton. [This function can also be used as a condition.] |name = IsButtonHeld |returnType...")
 
imported>Gribbleshnibit8
(fix red links)
 
Line 1: Line 1:
{{Function
{{Function
  |origin = LU
  |origin = LU
  |summary = Returns whether or not a button is held by HoldButton. [This function can also be used as a condition.]
  |summary = Returns whether or not a button is held by HoldButton.
  |name = IsButtonHeld
  |name = IsButtonHeld
  |returnType = bool
  |returnType = bool
Line 10: Line 10:
   }}
   }}
}}
}}
==Notes==
This function can also be used as a condition.
{{Controller_Button_Codes}}
{{Controller_Button_Codes}}
==See Also==
==See Also==

Latest revision as of 20:13, 18 December 2016

< [[::Category:Functions|Category:Functions]]

A function added by the Lutana NVSE plugin.

Description

Returns whether or not a button is held by HoldButton.

Syntax

[help]
(bool) IsButtonHeld button:int

Notes

This function can also be used as a condition.

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