ok i do it again a found my mistake! now everythings work correct with the standart character! hope for you too!
comment the script so you can change it! if you have more questions, write it and i will help you
so here is the script:
;Artificial Intelligence Script
;Triggers
desc = Zombie (Pace, Hunt, Melee)
;Triggers
:waypointstate=0:animate=2,waypointstart
:waypointstate=3:animate=2,waypointnext
:waypointstate=4:animate=2,waypointrandom
:waypointstate=5:animate=2,waypointreverse
;start follow waypoints
:state=0:waypointstart,state=1
;if npc see you (from a far distance too)
;delete the ';' so your npc see you earlier when no walls are in the field of view
;:state=1,plrcanbeseen:settarget,rotatetotarget,state=2
;notice player if he is 5 segements away
:state=1,plrdistwithin=500:settarget,rotatetotarget,state=2
;notice player if he shoot on the npc
:state=1,shotdamage=10:settarget,animate=1,rotatetotarget,state=2
:state=2:waypointstop,movetotarget,state=3
:state=3,plrdistfurther=90:rotatetoplr,movefore=2,animate=2
:state=3,plrdistfurther=500:animate=1,state=0
:state=3,plrdistwithin=90,rateoffire:rotatetoplr,setframe=8,state=4
:state=4,framebeyond=8 60,plrdistwithin=100:plraddhealth=-10,sound=audiobank\misc\bite.wav,state=5
:state=4:incframe=8,rotatetoplr
:state=4,frameatend=8:state=1
:state=5:incframe=8
:state=5,frameatend=8:state=1
;End of Script
Yes, i´m a noob, but i like it
http://forum.thegamecreators.com/?m=forum_view&t=196656&b=24