That having been said. I feel compelled to ask: What changes do I have to make to this script to make it do what I need regarding this certain issue?
desc = Mummy/slow-knockback-fast/follow and slash
;Triggers
:state=0,plrdistwithin=8015lrcanbeseen:state=1,rotatetoplr,setframe=96,sound=audiobankvoicesmalemummysee.wav
:state=0,shotdamage=1:state=1,rotatetoplr,setframe=96,sound=audiobankvoicesmalemummysee.wav
:state=1:incframe=96
:state=1,frameatend=96:state=2
:state=2,plrdistfurther=74:rotatetoplr,movefore=40,animate=92
:state=2,plrdistwithin=75:rotatetoplr,animate=93
:state=2,animationover=99,plrdistwithin=65:plraddhealth=-1
:state=2,frameatstart=93,plrdistwithin=75:sound=audiobankvoicesmalemummybite.wav
:state=2,healthless=75:state=3,setframe=97,movefore=-20,sound=audiobankvoicesmalemummyhurt.wav
:state=3:incframe=97
:state=3,frameatend=97:state=4
:state=4,plrdistfurther=80:rotatetoplr,runfore=10,animate=94
:state=4,plrdistwithin=80:rotatetoplr,animate=95
:state=4,animationover=100,plrdistwithin=70:plraddhealth=-1
:state=4,frameatstart=95,plrdistwithin=75:sound=audiobankvoicesmalemummybite.wav
EDIT:
I have tried using the raycast in many places in the script it does not seem to be working like people say it should. Maybe I am not doing it right. Could someone please tell me how to use the raycast and where in the script it should go?
Patience and tolerance are the keys to the passage of knowledge. Even the ones that know the most started with many questions.