SRL Archive - Help

What does the function IsUpText do exactly?


ragebugger

2012-06-17 17:13:35

And is there a documentation online to find out what each procedure/function does? Going through the .simba files one by one is kind of tedious, not to mention the descriptions aren't exactly the most detailed.

RuneDragon

2012-06-17 17:16:15

It reruns true if text found in up text.

http://wizzup.org/srl5doc/text.html

CephaXz

2012-06-17 17:17:26

At the function list at the left side of Simba, you can just type 'uptext', then double click on the function you want. Or here : https://docs.villavu.com/srl-5/index.html

if IsUptext('Attack') then
writeln('Found')
else
writeln('Not found');

It means if the uptext of Attack is found, which is the text 'Attack' when you hover on a monster, then it will write Found in the debug, else it will write Not found.

ragebugger

2012-06-17 17:26:15

So uptext is just the thing on the top left of the screen when you hover over something. Thanks