This business of marking threads as "URGENT"is getting old. It’s not urgent, if it were, you’d be over in the commercial section offering cash for a solution. I’ve just stopped even reading code of people who mark things as urgent. Actually, as summer drags on, my desire to help people has waned. When school being again, it will probably wax anew.
Help us to help you. If the code failed to compile (as you say above), you were given some specific errors. Don’t make people guess what those errors are - post them.
Well, you obviously don’t need a semi-colon in the expression portion of an if block, so that’s not likely the offending code. Yeah, it’s a nasty looking expresssion, but (by eye) I don’t see a problem with it. What does the rest of the code look like that goes with that statement? I’d guess your problem is there…
@JRavey jgodfrey : that’s what I’m thinking too…But I check it more than three times and it keeps showing up that line on the console…
@all : In the end I reload all my older scripts and redone it with the same scripts and nothing goes wrong…thank you for helping me doing the scripts…
my conclusion : I don’t know what makes my code errors since I’ve never experienced this kind of bug before, next time I met this kind of bug I’ll make sure you all got the code.