Modify

Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#1096 closed Feature Request (Rejected)

MouseMove() Function

Reported by: aSigN Owned by:
Milestone: Component: AutoIt
Version: Severity: None
Keywords: Mouse Move Cc:

Description

In a lot of fps game the mouse are centerd all the time.
When I set it to move to the left 50px it will continue turning right 50px all the time because the mouse could only be on the middle, so the feature i request is MouseMove()
MouseMove(x,y,s)
x for x axis
y for y axis
s for speed maybe from 1 to 100
example MouseMove(50,50,10) ;That would make my mouse go 50 pixels up 50 pixels right and the speed of 10

Attachments (0)

Change History (2)

comment:1 by Valik, 17 years ago

Resolution: Rejected
Status: newclosed
Version: 3.3.0.0
  1. Call MouseGetPos().
  2. Offset the position by whatever you want.
  3. Call MouseMove() with the new coordinates calculated in step 2.

We really don't need to make a built-in function to do something you can do in two additional steps (or none if you wrap the code in a function).

in reply to:  1 comment:2 by aSigN, 17 years ago

Replying to Valik:

  1. Call MouseGetPos().
  2. Offset the position by whatever you want.
  3. Call MouseMove() with the new coordinates calculated in step 2.

We really don't need to make a built-in function to do something you can do in two additional steps (or none if you wrap the code in a function).

As I Said MouseMove() can't be use in fps game

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.