Gondus Posted August 22, 2006 Share Posted August 22, 2006 While 1 = 1 MouseMove(567, 459, 20) ;Moves to action MouseClick("left") ;Clicks button $zombie = PixelSearch(1, 159, 766, 661, 2317669, 10) ;Gets monsters cord If Not @Error Then MouseMove($zombie) ;This is where im confused...how do i get it to move to the monster cords? MouseClick("left") ;Clicks on Monster WEnd ;Continues till paused or terminated I dont know exactly how to use $zombie cord's to get the mouse to click on the monster. -----------Current Programming Language Status:Beginner: J#, Ruby Intermediate: Autoit, Java, C#, C++Advanced: Basic, Visual Basic, Fortran Link to comment Share on other sites More sharing options...
Valuater Posted August 22, 2006 Share Posted August 22, 2006 maybe While 1 = 1 MouseMove(567, 459, 20) ;Moves to action MouseClick("left") ;Clicks button $zombie = PixelSearch(1, 159, 766, 661, 2317669, 10) ;Gets monsters cord If Not @Error Then MouseClick("left", $zombie[0], $zombie[1]) ; move and click the monster cords WEnd ;Continues till paused or terminated 8) Link to comment Share on other sites More sharing options...
Gondus Posted August 22, 2006 Author Share Posted August 22, 2006 Thank You very much, you helped me out with my script so much, and taught me alot to. My script is now finally done, ty ty ty ty ty ty ty -----------Current Programming Language Status:Beginner: J#, Ruby Intermediate: Autoit, Java, C#, C++Advanced: Basic, Visual Basic, Fortran Link to comment Share on other sites More sharing options...
Valuater Posted August 22, 2006 Share Posted August 22, 2006 Thank You very much, you helped me out with my script so much, and taught me alot to. My script is now finally done, ty ty ty ty ty ty ty Welcome8) 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