View Single Post
Old 11-28-2011, 06:41 PM   #6
harIII
Veteran
 
harIII's Avatar
 
Join Date: Feb 2008
Posts: 924
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());
}


Check out what's going on with Shadows of the Empire at the original thread or at the official web site:

Thread: http://www.lucasforums.com/showthread.php?t=202826
Web Site: http://sote.weebly.com/
harIII is offline   you may: quote & reply,