SRL Archive - OSR Help

Need help with some dtm/basic logic


thoth

2012-01-20 03:41:06

I'm working on an auto item grabber for a flash game and got stuck figuring this out.

So I have a list of dtmfromstrings which attribute to a bunch of items, I need to be able to have an if statement that can check to see if any of the dtms are true in a given area, like how finddtm works, so basically I want the finddtm function but I need it to read from a long list of dtmfromstrings instead of just one.

I don't know if this is possible, but if someone could help me out or point me in the right direction I'd appreciate it.

Regards, Thoth.

ReadySteadyGo

2012-01-20 06:01:16

for i := 0 to High(DTMList) do
if FindDTM(DTMList[i], blah, blah) then
begin
DoSomething;
Break;
end;