Modify

Opened 15 years ago

Closed 15 years ago

Last modified 15 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 follow-up: Changed 15 years ago by Valik

  • Resolution set to Rejected
  • Status changed from new to closed
  • Version 3.3.0.0 deleted
  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).

comment:2 in reply to: ↑ 1 Changed 15 years ago by aSigN

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

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.