GetNumMouseButtonsPressed

From the Oblivion ConstructionSet Wiki
Revision as of 16:50, 3 August 2008 by imported>Quetzilla
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

A command for Oblivion Script Extender

Syntax:

(count:long) GetNumMouseButtonsPressed

Returns the number of mouse buttons pressed.

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.

See Also