Something is seriously broken with boolean evaluations
bool boolA = !!false; bool boolB = (!!true != true); Print(boolA); Print(boolB); PrintFormat( "Working Result: %1", boolA == boolB ); PrintFormat( "Broken Result: %1", !!false == (!!true != true) );
The boolean logic separated into variables works as intended.
If the same logic is put into one single statement it's not evaluated correctly.
Output:
SCRIPT : bool boolA = 0 SCRIPT : bool boolB = 0 SCRIPT : Working Result: 1 SCRIPT : Broken Result: 0
Example of boolean logic causing a compile error:
if( (true&&true) != (false==false) ) { Print("Hello"); }