Patron Wiki
Advertisement

Commenting a script, to know which part of the script does what, is always useful. For those of you with some coding background wondering does "//" work, the answer is NO. The only way to comment in sal is this:

/* Anything between these tokens will be ignored */
/*
Even if this goes
in multiple lines
*/

This method can span multiple lines, but be careful! The comment token (either one) CANNOT "lean" on any other character in the script. Always make sure there are empty spaces!

The game, when it encounters "/*" simply moves on, ignoring EVERYTHING, until it reaches "*/".

Advertisement