Hi,
I have this little script:
:state=0,plrdistwithin=300:state=1
:state=1,plrdistfurther=40:rotatetoplr,movefore=2,animate=2,sound=audiobank/user/moan.wav
:state=1,plrdistfurther=300:animate=1,state=0
:state=1,plrdistwithin=40,rateoffire:rotateplr,animate=92,plraddhealth=-20
The problem is that when I approach the zombie, it starts to attack me but is silent. When I walk away, he gets to idle, and then the sound starts to play.
I want it of course, that the sounds plays when he move fore to me.
Any ideas?
A little less conversation, and a little more action please!