Hi everyone!
Intellimatter 2.0 is now finished and this is what i have changed/added:
-removed a couple of unnessesary lines of code.
-added a randomized walking behaviour to the search state.
-done some minor changes in the "lose target" system.
-----------------------------------------------------------
Here is the code:
.::Scripted by Antimattergames::.
:plralive=0:state=0,animate=1
:state=0,plrcanbeseen:state=1
:state=0,noiseheard=400:rotatetoplr,state=1
:state=0,shotdamage=1:rotatetoplr,state=1
:state=1,ifweapon=1,plrcanbeseen:rotatetoplr,settarget,useweapon,rundecal=6
:state=1,ifweapon=0:state=2,setframe=6
:state=1,shotdamage=1:state=3,setframe=3
:state=1,plrdistfurther=400:rotatetoplr,state=4,setframe=2
:state=1,plrcannotbeseen:state=5
:state=1,healthless=30:state=4,setframe=2
:state=1,plrdistfurther=400,plrcannotbeseen:state=0
:state=1,plrdistwithin=100:state=6
:state=2:incframe=6
:state=2,frameatend=6:state=1,reloadweapon,sound=audiobankgunsreload.wav
:state=3:incframe=3
:state=3,random=1:rotatetoplr,strafe=90,rotatetoplr
:state=3,random=1:rotatetoplr,strafe=-90,rotatetoplr
:state=3,frameatend=3:animate=1,state=1
:state=4:incframe=2
:state=4:movefore=8
:state=4,frameatend=2:animate=1,state=1
:state=5,random=1:rotatey=65,state=4,setframe=2
:state=5,random=1:rotatey=-65,state=4,setframe=2
:state=5,plrdistwithin=200:rotatetoplr,state=1
:state=5,noiseheard=500:rotatetoplr,state=1
:state=5,shotdamage=1:rotatetoplr,state=1
:state=6,random=1,rateoffire:plraddhealth=-12
:state=6,random=2,rateoffire:plraddhealth=-14
:state=6,random=3,rateoffire:plraddhealth=-16
:state=6:state=1
.::Scripted by Antimattergames::.
Dont forget that this script is absolutely free to use!
Have fun! I hope you enjoy it!
*EDIT*
Forget about the survival state, it didnt work too well...
Dont forget to visit my website for scripts!