I was looking threw the source and acidently came across this:
rem if this entity character is substantially closer that furthest priority entity, switch
if entityelement(e).plrdist<lastlogicpriorityfurthest#+125.0
rem switch priroity to this entity (priority entity characters are always the closest)
if entityelement(e).plrdist<tonestealperaiphasedist#
tonestealperaiphasedist#=entityelement(e).plrdist
tonestealperaiphase=e
endif
endif
rem hold character logic at bay - until logicpriority allows
entityelement(e).logiccount=100
endif
if entityelement(e).priorityai=1
entityelement(e).logiccount=0
endif
endif
I wonder if the priority thing is the cause of the lack of some enemy response when there are more than 2 - maybe I could fix it
Work Hard. Do Your Best. Share The Glory. Do It Again.