SRL Archive - Help and Support

Which text function do I use for this?


Pure1993

2008-08-02 05:48:57

Hi,
Well, title says it all, I am done with my script, but I decided to get some dtm's out of there, so I was wondering if there is a text function which could locate that "mining" on this screen (also, if the "mining" isn't there, it should also be able to find the "more" text).

I have no clue about fonts or chars or whatever they want in most Text.scar functions, so yeah, can someone enlighten me pls? :D

MasterKill

2008-08-02 06:24:53

If FindNPCText('ining', True) Then

Something like that, look in text.scar for the function :)

Metagen

2008-08-08 15:13:02

Actually, ive done some work with this, and if you use npctext too much it will lag your script. Find the exact coordinates of it and then use findtext.