Difference between revisions of "MoveMouseY"
Jump to navigation
Jump to search
imported>DragoonWraith (OBSE) |
imported>Haama (Note on how to determine resolutions, inversion) |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 10: | Line 10: | ||
MoveMouseY -50 | MoveMouseY -50 | ||
Moves the mouse 50 pixels down. | Moves the mouse 50 pixels up/down probably depending on the user's gameplay settings (invert mouse Y axis). | ||
==Notes== | |||
* Use [[GetNumericINISetting]] to determine Y-Axis Inversion, as well as resolutions. | |||
<pre>short XRes | |||
short YRes | |||
short YAxis | |||
... | |||
set XRes to (GetNumericIniSetting "iSize W:Display") ;i.e., 1280 of 1280x1024 | |||
set YRes to (GetNumericIniSetting "iSize H:Display") ;i.e., 1024 of 1280x1024 | |||
set YAxis to (GetNumericINISetting "bInvertYValues:Controls") | |||
;0 for normal, 1 for inverted</pre> | |||
==See Also== | ==See Also== | ||
Line 20: | Line 31: | ||
*[[EnableMouse]] | *[[EnableMouse]] | ||
[[Category: OBSE Functions]] | |||
[[Category: OBSE Input Functions]] | <!--[[Category: OBSE Functions]] | ||
[[Category: OBSE Input Functions]]--> | |||
[[Category: Functions]] | |||
[[Category: Functions (OBSE)]] | |||
[[Category: Input Functions]] | |||
[[Category: Input Functions (OBSE)]] |
Latest revision as of 18:59, 14 September 2007
A command for Oblivion Script Extender
Syntax:
MoveMouseY pixels
Tells Oblivion that the mouse has moved a certain number of pixels in the vertical axis. Oblivion will react accordingly depending on the situation.
Examples[edit | edit source]
MoveMouseY -50
Moves the mouse 50 pixels up/down probably depending on the user's gameplay settings (invert mouse Y axis).
Notes[edit | edit source]
- Use GetNumericINISetting to determine Y-Axis Inversion, as well as resolutions.
short XRes short YRes short YAxis ... set XRes to (GetNumericIniSetting "iSize W:Display") ;i.e., 1280 of 1280x1024 set YRes to (GetNumericIniSetting "iSize H:Display") ;i.e., 1024 of 1280x1024 set YAxis to (GetNumericINISetting "bInvertYValues:Controls") ;0 for normal, 1 for inverted