I need some help with my custom AI script, it makes the AI kill the player, but if the AI loses the player it should follow the player and then reengage, but all it does is follow the player with no animation. Heres the script.
;Artificial Intelligence Script
;Header
desc = My custom AI script.
;Triggers
:state=0,plrcanbeseen:state=1,settarget
:state=0,plrcannotbeseen:state=2
:state=1:rotatetoplr
:state=1,ifweapon=1,plrcanbeseen=46,rateoffire:useweapon,rundecal=6
:state=2:followplr
;End of Script
If anyone could help it would be appreciated.
If I was a germ I would be a flesh eating virus.