Difference between revisions of "GetMouseButtonPress"

65 bytes added ,  19:39, 19 October 2007
Note on index
imported>WereWolf
(New page: A command for Oblivion Script Extender '''Syntax:''' (dxScanCode:long) GetMouseButtonPress whichIndex:long Returns the dx scancode of the mouse bu...)
 
imported>Haama
(Note on index)
Line 8: Line 8:


==Notes==
==Notes==
* Index starts at 0 for the first button, 1 for the second, etc.
* This function will return the scancode of a mouse button for the whole period it is held down, and not just the first frame.
* This function will return the scancode of a mouse button for the whole period it is held down, and not just the first frame.
* If no mouse button are being held down, or if the id you give is greater than the number of mouse buttons being held down, this function will return 65535.
* If no mouse button are being held down, or if the id you give is greater than the number of mouse buttons being held down, this function will return 65535.
Anonymous user