In this block of code:
:state=0:state=1
:state=1,plrcanbeseen:
:state=1,random=20:rotateheadrandom=65
:state=1,random=60:rotatetoplr
:state=1,waypointstop,animate=1,rotatetotarget,resethead,state=4
:state=1,noiseheard=5:rotateheadrandom=85
The second line, you can see that you ended it with just a colon... that's bad programming, man. If you don't want that line to do anything under those conditions, then just delete the whole line.
Also, the fifth line... doesn't have an "action colon". If you don't know what I'm talking about, you should take a look at my tutorials located on this board titled "A Complete Newbs Guide to Scripting".
You are also lacking actions for this line:
:state=4,plrcanbeseen=46:
Again, if you don't want anything to happen under those conditions, just delete the line.
Hope that gets things rolling for you. I would really like to see more scripters out there.
The one and only,
~PlystirE~
Urlforce:
Dude, I'd rather be declared a dbpro noob than an fpsc legend any day!