Difference between revisions of "GetNumMouseButtonsPressed"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Haama
(Added note on menus)
imported>Quetzilla
 
(One intermediate revision by the same user not shown)
Line 7: Line 7:


==Notes==
==Notes==
* This function will count mouse buttons disabled with [[DisableKey]] or [[DisableControl]].
* While a [[MessageBox]] is being displayed, the left mouse button won't be counted, presumably because its input is switched over to the MessageBox.
* While a [[MessageBox]] is being displayed, the left mouse button won't be counted, presumably because its input is switched over to the MessageBox.


==See Also==
==See Also==
*[[GetMouseButtonPress]]
*[[GetMouseButtonPress]]
*[[GetNumKeysPressed]]


[[Category: Functions]]
[[Category: Functions]]

Latest revision as of 16:50, 3 August 2008

A command for Oblivion Script Extender

Syntax:

(count:long) GetNumMouseButtonsPressed

Returns the number of mouse buttons pressed.

Notes[edit | edit source]

  • This function will count mouse buttons disabled with DisableKey or DisableControl.
  • While a MessageBox is being displayed, the left mouse button won't be counted, presumably because its input is switched over to the MessageBox.

See Also[edit | edit source]