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.![]()
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.![]()
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.
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.
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.![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)