Results 1 to 6 of 6

Thread: How do I recognize NPC text?

  1. #1
    Join Date
    Apr 2008
    Location
    Minnesota, USA
    Posts
    279
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default How do I recognize NPC text?

    I am trying to add a failsafe to my script, basically when the script sees a certain text above the NPC's head it returns to the beginning of the script.

    Could someone please tell me what code is needed to recognize this text above an NPC?
    Currently Working on: Runite Miner W/ World Hop (Fally) 80% complete

    Next: Advanced Gnome Agility Course!

  2. #2
    Join Date
    Feb 2006
    Posts
    3,044
    Mentioned
    4 Post(s)
    Quoted
    21 Post(s)

    Default

    Simba Code:
    FindNPCChatText();

    I suggest you using
    Simba Code:
    FindNPCChatTextMulti();

    ~Home

  3. #3
    Join Date
    Apr 2008
    Location
    Minnesota, USA
    Posts
    279
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks so much! You rock
    Eventually I will be good enough to start helping u guys, after im done arguing with my GF about me quitting my job
    Currently Working on: Runite Miner W/ World Hop (Fally) 80% complete

    Next: Advanced Gnome Agility Course!

  4. #4
    Join Date
    Dec 2011
    Location
    Toronto, Ontario
    Posts
    6,424
    Mentioned
    84 Post(s)
    Quoted
    863 Post(s)

    Default

    No I don't think that's what he means Home:s.
    He's talking about a yellow chat dialouge which appears ABOVE the head of the NPC, not the chatbox.

  5. #5
    Join Date
    Apr 2008
    Location
    Minnesota, USA
    Posts
    279
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Ahh that is true sin, would you know what the solution is?
    Currently Working on: Runite Miner W/ World Hop (Fally) 80% complete

    Next: Advanced Gnome Agility Course!

  6. #6
    Join Date
    Jan 2010
    Posts
    1,414
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    FindText would also work for the main screen. You just have to find the corresponding font in Simba's install directory and match it up.
    Simba Code:
    (* Main *)

    repeat
      WriteLn('I am an idiot!');
    until(False);

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
  •