first i had a full network of paths, that utbots would have no problem with, then i switched to a pylon using Mougli tutorials, but it still cant find a path, basically it just draws the red debug as the enemy see's me and stays in place, this is my latest atempt:
acording to the documentation that should set a target and make the ai follow that path, but it still doesnt work. Im asuming once you build a pylon that you dont need path nodes. though i have tested with both on, just pylon, and just nodes yet nothing changes. I basically run into the same issue Mougli ran at first, enemies get stuck if there is an obstruction in the way.
auto state Chaseplayer
Pawn.Acceleration = vect(0,0,1);
while (Pawn != none && thePlayer.Health > 0)
distanceToPlayer = VSize(thePlayer.Location - Pawn.Location);
if(distanceToPlayer < AttackDis)
moveTo( thePlayer.location , thePlayer);