Jump to content

Warcraft 3 Full Screen Pixel searching help


Recommended Posts

So I have a script and I am trying to get it to use th pixel serach command in game and here is what I am using for it

$search1 = PixelSearch(900, 192,1257, 306,0x000039,)
If IsArray($search1) = True Then
    MouseClick("Left",1068, 354)

But that wasn't working so I tried this:

$search1 = PixelSearch(900, 192,1257, 306,0x000039,"0","1",WinGetHandle("Warcraft III"))
If IsArray($search1) = True Then
    MouseClick("Left",1068, 354)

But still it didn't work so I decided to try using it in WC3 Windowed mode and but of course the first code worked for it and did what I wanted it to but when I try and use the command for Full Screen WC3 which is what I want this to be used in it won't work.

So does anyone know how you can use the Pixel Search command for full screen WC3?

I really badly need to know

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...