Aceguy Posted December 18, 2007 Posted December 18, 2007 (edited) Im tring to dectect 2 zones...... using pixelsearch like this. $down=0 Do PixelSearch($xl2 - $aoe_r, $yl2 - $aoe_r, $xl2 + $aoe_r, $yl2 + $aoe_r, $rod_id, $sens_read_l) If @error = 0 and $down=0 Then Send("{numpad6 down}") $down=1 Elseif @error=1 and $down=1 Then Send("{numpad6 up}") $down=0 EndIf PixelSearch($xr - $aoe_r, $yr - $aoe_r, $xr + $aoe_r, $yr + $aoe_r, $rod_id, $sens_read_r) If @error = 0 and $down=0 Then Send("{numpad4 down}") $down=1 Elseif @error=1 and $down=1 Then $down=0 EndIf until 0 basically scanning 2 boxes for the correct color. when the colour is present press and hold the corresponding key (continue to scan both boxes) until the other box is found to contian that colour or corresponding box does not contain correct colour. ?????? Edited December 18, 2007 by Aceguy [u]My Projects.[/u]Launcher - not just for games & Apps (Mp3's & Network Files)Mp3 File RenamerMy File Backup UtilityFFXI - Realtime to Vana time Clock
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