02-06-2014, 10:20 AM
Just add in a random factor (2 potential paths - one time it will run the AI normal function and the other it will pick randomly). Harder enemies could run the script more often while weak enemies or "crazed" enemies would almost never run it.