Jump to content

Need help with pixil search


 Share

Recommended Posts

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

Thank You very much, you helped me out with my script so much, and taught me alot to. :P

My script is now finally done, ty ty ty ty ty ty ty :nuke::):D:lol::idea:

-----------Current Programming Language Status:Beginner: J#, Ruby Intermediate: Autoit, Java, C#, C++Advanced: Basic, Visual Basic, Fortran

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...