Difference between revisions of "MoveMouseX"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>DragoonWraith
(OBSE)
 
imported>Jaime74
m (Removed junk injection)
 
(5 intermediate revisions by 5 users not shown)
Line 11: Line 11:


Moves the mouse 50 pixels to the left.
Moves the mouse 50 pixels to the left.
==Notes==
* Use [[GetNumericINISetting]] to determine the resolutions.
<pre>short XRes
short YRes
...
set XRes to (GetNumericIniSetting "iSize W:Display") ;i.e., 1280 of 1280x1024
set YRes to (GetNumericIniSetting "iSize H:Display") ;i.e., 1024 of 1280x1024
            ;0 for normal, 1 for inverted</pre>


==See Also==
==See Also==
Line 20: Line 29:
*[[EnableMouse]]
*[[EnableMouse]]


[[Category: OBSE Functions]]
<!--[[Category: OBSE Functions]]
[[Category: OBSE Input Functions]]
[[Category: OBSE Input Functions]]-->
 
[[Category: Functions]]
[[Category: Functions (OBSE)]]
[[Category: Input Functions]]
[[Category: Input Functions (OBSE)]]

Latest revision as of 08:00, 14 November 2011

A command for Oblivion Script Extender

Syntax:

MoveMouseX pixels

Tells Oblivion that the mouse has moved a certain number of pixels in the horizontal axis. Oblivion will react accordingly depending on the situation.

Examples[edit | edit source]

MoveMouseX -50

Moves the mouse 50 pixels to the left.

Notes[edit | edit source]

short XRes
short YRes
...
set XRes to (GetNumericIniSetting "iSize W:Display") ;i.e., 1280 of 1280x1024
set YRes to (GetNumericIniSetting "iSize H:Display") ;i.e., 1024 of 1280x1024
             ;0 for normal, 1 for inverted

See Also[edit | edit source]