Hi, Why the following script generate a syntax error? (the problem doesn't connected to having ident) If (particleId % 2 == 0 ) { goalWeight0PP=1; goalWeight1PP=0; } else { goalWeight0PP=0; goalWeight1PP=1; }