Have the pro version at the moment. What I’m trying to do is re-calculate the path when the enemy is shot at to the playerposition. Currant calling .StartPath but seems wrong. Is there any ‘remove current path’ or ‘recalculate path’ command? Couldn’t see one in the documentation.
That depends on the movement script that you are using.
Most movement scripts have ‘target’ transform which they will calculate a path to repeatedly. E.g if you want to force the path to be recalculated for the AIPath script you should call the SearchPath method.