Results 1 to 2 of 2

Thread: npc finding

  1. #1
    Join Date
    Jun 2007
    Posts
    69
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default npc finding

    hi i need help with finding charcters like npcs on the screen. i would think that findcolor could work but woulnt be reliable as the colour changes. Bitmaps i think would not work ethier seeing as the character is constantly moveing, unless theres a way i dont know about. can anyone tell me the most effective way of finding npcs? thanks.

  2. #2
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    Try using the FindObject Function
    SCAR Code:
    function FindObj(var  cx, cy: Integer; Text: String; color, tolerance: Integer): Boolean;
    By: Stupid3ooo and modified by Ron.
    Description:
         Finds Object.

    Used like So

    SCAR Code:
    If FindObj(x,y,'anker',5837,10) Then
    Mouse(x,y,3,3,False)
    ChooseOption(x,y,'Open')

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Finding an NPC... I Need Help!
    By mormonman in forum OSR Help
    Replies: 9
    Last Post: 12-06-2008, 05:36 AM
  2. Replies: 3
    Last Post: 09-23-2008, 03:37 AM
  3. Gas finding help
    By Lancelot074 in forum OSR Help
    Replies: 9
    Last Post: 03-01-2008, 10:00 PM
  4. I need help with ENT finding
    By TravisV10 in forum OSR Help
    Replies: 23
    Last Post: 07-05-2007, 08:27 AM
  5. help with ent finding
    By Adamb_135 in forum OSR Help
    Replies: 4
    Last Post: 04-18-2007, 02:14 AM

Posting Permissions

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