Hello, I have an interesting question about the IF command.

For example:

If (a == 1 && b == 1 && c == 1)
{Do something}

Does the engine now proof each var, also if a is not 1?
I mean: Does the engine break the line and is looking for the next command or does it also check b and c? Also if we already know that a is not 1 and it can not be end in true anymore?

It is interesting for scripts with a lot of IF commands.
I think it is breaking the line, right?







Last edited by Logitek; 11/23/15 19:32.