Results 1 to 2 of 2

Thread: Need help with some dtm/basic logic

  1. #1
    Join Date
    Jan 2012
    Posts
    12
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default Need help with some dtm/basic logic

    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.

  2. #2
    Join Date
    Aug 2008
    Location
    London, UK
    Posts
    456
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Simba Code:
    for i := 0 to High(DTMList) do
      if FindDTM(DTMList[i], blah, blah) then
      begin
        DoSomething;
        Break;
      end;
    Last edited by ReadySteadyGo; 01-20-2012 at 11:10 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •