SRL Archive - Help and Support

which function?


Shuttleu

2008-08-11 19:03:01

well i have come across the answer before but i cant remember whet function to use

i have looked in the text.scar and in thescar manual but i cant find it anywhere

what function would i use to return this number
i know the chars to use is upchars but i cant remember what function to use

~shut

EvilChicken!

2008-08-11 20:24:28

Kinda depends on where they are, but I would use findtext?

Shuttleu

2008-08-11 21:16:41

they are on the main screen

what i want to do is have a function that will read what is onscreen and return 278 as a string not return a boolean

~shut

EvilChicken!

2008-08-11 21:32:57

Oh, that would be GetText(At?) or GetTextAtEx.

These can be found in the SCAR manual.
Press F1 while having SCAR open, and press CTRL + F once that browser window opens. Now search for GetText and you should find a couple of functions.