Log in

View Full Version : What does the function IsUpText do exactly?



ragebugger
06-17-2012, 09:13 PM
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
06-17-2012, 09:16 PM
It reruns true if text found in up text.

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

CephaXz
06-17-2012, 09:17 PM
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
06-17-2012, 09:26 PM
So uptext is just the thing on the top left of the screen when you hover over something. Thanks