I’m trying to compile the script above (is a copy of NW_C2_DEFAULT2 with a addition at the end) but i’m getting “ERROR: NO RIGHT BRACKET ON EXPRESSION”. I don’t know why because the syntax is right. Please help.
Look at your final if() -
if(!GetIsEnemy(oPercep, OBJECT_SELF)
you have an opening ‘(’ for the if but no corresponding ‘)’
TR
3 lines below that, ditto
i can’t believe i didn’t see that. Thanks.