Quote:
Originally posted by adam
Also you need to use " == " instead of " = " in an if statement.
|
Actually, that's not compulsory. Scripts will run fine online and offline with a single equals. It's only suggested in the documentation to help keep with the C++/Java syntax.
Quote:
npcprogramming.doc:
You can also use some other symbols like ':=' for assignment and a single '=' for checking equality, but it's not recommended (to keep compability to the Java/C++ syntax).
|
It's suggested you use two. Not required.
If this sounded vaguely patronizing, then I apologize. No insult was meant. Just getting my point across.
