Results 1 to 6 of 6

Thread: How can I ignore my own character

  1. #1
    Join Date
    Jun 2012
    Posts
    219
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default How can I ignore my own character

    Hi

    I know this was posted a while back, but try as I may to find that post again I just can`t. I`m looking for a way in which I can Ignore my own character while searching for an object.

    I`m searching for tin ore and seeing as the pickaxe I`m using has the same color as the tin ore I get a lot of searching on my own character. How can I exclude the search from around my own character just wide enough to ignore myself?

    Thanks for the replies.

  2. #2
    Join Date
    Apr 2012
    Posts
    3,356
    Mentioned
    34 Post(s)
    Quoted
    218 Post(s)

    Default

    Are you not able to change the pickaxe? that would be the easiest?

    E: if using ACA why not use different tolerances and stuff

  3. #3
    Join Date
    Dec 2007
    Posts
    2,112
    Mentioned
    71 Post(s)
    Quoted
    580 Post(s)

    Default

    if not PointinBox(Point) then
    begin
    //do stuff, check for uptext move mouse etc.
    end;

  4. #4
    Join Date
    Feb 2012
    Location
    Wonderland
    Posts
    1,988
    Mentioned
    41 Post(s)
    Quoted
    272 Post(s)

    Default

    Simba Code:
    //...
    var
      TPA, PlayerBox: TPointArray;
    begin
      PlayerBox := TPAFromBox(IntToBox(240, 130, 275, 185));
      ClearTPAFromTPAWrap(TPA, PlayerBox, {var}TPA);
    //...
    That functionality should take the TPA you found, clear the TPA around your character and spit out the original TPA w/o the Player Box TPA. ({var} TPA is what you end up with) Hope this helps

  5. #5
    Join Date
    Jun 2012
    Posts
    219
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Thanks for all the Input, I have used what Le Jingle have suggested and it works fine.

  6. #6
    Join Date
    Jan 2012
    Posts
    369
    Mentioned
    6 Post(s)
    Quoted
    91 Post(s)

    Default

    Yep ClearTPAfromWrap is a nice function just have been made aware of it.

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
  •