Difference between revisions of "GetNumMouseButtonsPressed"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Quetzilla
imported>Quetzilla
 
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.



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]