I did it this way
desc = dog_chase
;Triggers
:state=0,plrdistwithin=300:state=1,loopsound=audiobank\user\dog.wav
:state=1,plrdistfurther=40:rotatetoplr,movefore=2,animate=5
:state=1,plrdistfurther=300:animate=1,state=0
:state=1,plrdistwithin=40,rateoffire:rotateplr,plraddhealth=-50
Ya I used the dog. LOL
I was just arguing the validity of non credit.
And HEY!!. I expect credit for my altered version of the script I stole from Sinistar!!! LOL
I opened the window and influenza (relax - the world is not coming to an end)