Results 1 to 5 of 5

Thread: Reading the above-head yellow text

  1. #1
    Join Date
    Feb 2012
    Posts
    88
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Reading the above-head yellow text

    Hello. Could anyone please give some insight on what the simplest way to read the above-head yellow text (e.g. what you or an NPC says) is? I'm afraid my script's efficiency relies on this and would be very grateful for any information.

  2. #2
    Join Date
    Apr 2011
    Posts
    13
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i think a "FindColorsTolerance" so you get all text as a TPA (on the mainscreen) then sort that TPA to a ATPA. Then use "GetTextATPA"

    probably how i would do it, havent done text finding on the screen in a few years.

    Edit: if you know what the NPC/player is going to say then use "FindtextTPA"
    Last edited by Psilocybin; 03-06-2012 at 02:31 PM.

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

    Default

    Don't think SRL has anything for that, since I mean there can be effects, and mainly because it can overlap with other text around you and be hard to read, and depending on compass andgle it can be in different spots etc.

    You can look in chat.sbima to see how to read the chatbox though which is almost kinda the same thing.

  4. #4
    Join Date
    Feb 2012
    Posts
    88
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thank you for your replies.

    I've modified my script in a way that it wouldn't need this anymore, as when I'd get stuck the DTM couldn't be seen anymore, resulting in a natural wait().

    Cheers.

  5. #5
    Join Date
    Oct 2007
    Location
    The deep web
    Posts
    2,496
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

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
  •