Difference between revisions of "GetMouseButtonPress"
Jump to navigation
Jump to search
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. |