SRL Archive - OSR Help

Quick question about a procedure:


l6bustank

2012-09-28 16:07:11

Hi all!
I decided to try out the HumanMMouse procedure (the one made by Flight - looks really nice btw! ) in a script. When compiling, the line
SMART_ClearCanvas;
gave me an error so (being a lazy bastard), instead of going through my script I just commented it out and the error was gone.
My question: What does this line do? Is it a crucial part of the antiban-ish nature of this procedure or is it sth rather irrelevant?

Ashaman88

2012-09-28 16:16:13

From: l6bustank
Hi all!
I decided to try out the HumanMMouse procedure (the one made by Flight - looks really nice btw! ) in a script. When compiling, the line
SMART_ClearCanvas;
gave me an error so (being a lazy bastard), instead of going through my script I just commented it out and the error was gone.
My question: What does this line do? Is it a crucial part of the antiban-ish nature of this procedure or is it sth rather irrelevant?


It clears anything that has been drawn on smart - If you don't have smartgraphics included in your script, it won't compile. It doesn't have any affect on it though, so deleting won't do anything bad

l6bustank

2012-09-28 16:23:06

yay :D , thx m8