Itankbots
2013-02-10 04:41:38
Im trying to choose which loot to pick up first, when both are the same color so i use the same TPA for both. Im choosing which loots based of the uptext and choose option.
I tried using this:
Even though it says it picks the first string first, thats not the case. it just loots the which ever item is on the top of the loot pile with a matching uptext.
Any functions that would pick whichever uptext first that i choose?
Example:
Im trying to loot cowhides first, then raw beef second if no cowhides are there, but since raw beef appears ontop of cowhide in the loot pile, it chooses the beef.
ChooseOptionMulti(['owhide','aw beef']);
Doesnt work even though i list cowhide first :/
I tried using this:
(*
ChooseOptionMulti
~~~~~~~~~~~~~~~~~
.. code-block:: pascal
function ChooseOptionMulti(Txt: TStringArray): Boolean;
Finds Popup menu, then clicks on it. Will look for the first string first and so on.
.. note::
by Wizzup? & N1ke!
Example:
.. code-block:: pascal
*)
function ChooseOptionMulti(Txt: TStringArray): Boolean;
begin
Result := ChooseOptionMultiEx(Txt, 'All', ClickLeft);
end;]Even though it says it picks the first string first, thats not the case. it just loots the which ever item is on the top of the loot pile with a matching uptext.
Any functions that would pick whichever uptext first that i choose?
Example:
Im trying to loot cowhides first, then raw beef second if no cowhides are there, but since raw beef appears ontop of cowhide in the loot pile, it chooses the beef.
ChooseOptionMulti(['owhide','aw beef']);
Doesnt work even though i list cowhide first :/