tom13 Posted July 7, 2007 Share Posted July 7, 2007 (edited) Hi, In a game I can change my view (angle) by dragging the mouse with the right mouse button. Goes like this: 1. Right mouse button down 2. Move the mouse to the right 3. Right mouse button up This should be the same: Sleep(5000) ;$size = WinGetClientSize("World of Warcraft") ;$width = $size[0] ;$height = $size[1] ;$Wmid = $width / 100 * 50 ;$Hmid = $height / 100 * 50 $pos = MouseGetPos() $Xpos = $pos[0] $Ypos = $pos[1] MouseClickDrag("right", $Xpos, $Ypos, $Xpos + 50, $Ypos) ;MouseClickDrag ( "button", x1, y1, x2, y2 [, speed] ) Although, when I do it manually the view and my character changes smooth and a bit to the right but when I use the script it flips the whole view the other way around and the only thing I see is air... anyone has an explenation for this? Edited July 7, 2007 by tom13 Link to comment Share on other sites More sharing options...
Leighwyn Posted July 7, 2007 Share Posted July 7, 2007 sounds like this Link to comment Share on other sites More sharing options...
tom13 Posted July 7, 2007 Author Share Posted July 7, 2007 sounds like thisThanks, seems like it yes Too bad the OP didn't find a 100% working solution yet Link to comment Share on other sites More sharing options...
Zor Posted July 10, 2007 Share Posted July 10, 2007 Thanks, seems like it yes Too bad the OP didn't find a 100% working solution yetI don't think you were reading carefully because they found a 100% working solution to your mouse problem. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now