![]() ![]() I made a lot of mistakes but mistakes are part of learning.ģ. ![]() For example, Nwb and neverlevel took their time to help me work through some issues and I am grateful to both of them.Ģ. First and foremost trust the people on the forum they have years of experience some more than others. We won't deal with this unless really necessary.ġ. Lastly you can use the found position of the image to make the boundaries of the second imagesearch a variable depending on the outcome of the first search. Unless both rocks are outside then none of the methods I suggested will work, you will have to make a separate part of the script to move the screen around trying to find the perfect position. Since there is only two halves, it should not interfere. Make sure the two images are variably different.Īnother way is to either change the search boundaries to make one imagesearch search the right half and the other for the left half. And make sure a part of the background is included. ![]() And with these results you can choose when to click either of them at any time.Īlso, may I ask what emulator that is? Just out of curiosity. So I mean you should use two different Imagesearches for two different images, like suggested. ![]() The most convenient approach would probably be using a function that supports multiple image findings, unfortunately this isn't supported by AutoHotkey's imagesearch command.īut first, do your backgrounds change? By which I mean do the trees stay in place all the time? If yes then this can be a clever way to distringuish between the two rocks. Is there a way to have it look randomly for just rock for now until I get better at coding?įor example, if the rock is here and another one is east of the same rock look for more rocks. Wiz wrote:I understand thank you for helping me Neverlevel, I think what your saying is look for a common pixel, for example, the rock color so no matter where I am on the map the pixel for the rock is the same. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |