View Single Post
Old 11-28-2011, 06:41 PM   #6
harIII
Veteran
 
harIII's Avatar
 
Join Date: Feb 2008
Posts: 983
Helpful! 
Quote:
Originally Posted by MrObiWan View Post
Im trying to make NPC's walk randomly using this script, but when I compile its say's "----.nss - error Syntax error at "}" , Compilation Aborted with errors.



Can someone help me with this?
I think this is a simple fix, you forgot the semicolon at the end of the line. I haven't tested this but I think this will work:

Quote:
void main()
{
AssignCommand(OBJECT_SELF,ActionRandomWalk());
}
harIII is offline   you may: quote & reply,