Hi all! I need a little help.
I downloaded Rolfy's spider pack. (It's awesme). But I have a little problem: i put the medium spider into my level and when this spider find me and come up to me to attack,the spider don't stop, but moveing towards, and pushing me. This can cause problem: for example spider can kick me out from the level in a corner.
Can somebody help me to modify the script to stop the spider when he reached me? (when the spider is in attacking range) The script is good, I only need to stop moveing the spider until the spider is in "attacking range"
I attached the original script.
;Created by Benjamin Aeilkema
desc = spider attack
;Triggers
:state=0,plrdistwithin=250:state=1
;:state=1,plrdistfurther=70:rotatetoplr,movefore=200,animate=2
:state=1,plrdistwitin=230:rotatetoplr,movefore=200,animate=2
:state=1,plrdistfurther=250:animate=0,state=0
:state=1,plrdistwithin=70,rateoffire:rotateplr,animate=92,plraddhealth=-5,sound=$0,state=1
I hope I wrote down my problem understandable. My english is not perfect.