I'm making an auto potter for the game I play and I want it to read the text in a specified area and decide whether to use a health potion or not. I've used GetTextAtEx already just to test to see if it worked and it did. Very happy
Anyway, I'm confused with the SVAR manual because here is the syntax for TextInAreaEx-
What is the second x and y for? I thought I specified the area in the x1, y1, x2, y2.Code:function IsTextInAreaEx(x1, y1, x2, y2: Integer; var x, y: Integer; S: string; Tolerance: Integer; Chars: Integer; CheckShadow, CheckOutline: Boolean; MinSpacing, MaxSpacing: Integer; TextColor: Integer): Boolean; Searches for text in area specified by x1, y1, x2, y2. Other parameters match IsTextAtEx.



Reply With Quote






