Repaired the problem with enemy ai going through walls. Had to call PathFinding initialization function for the enemy ai grid when generating the grid for PCs.