I have created an AI Character which upon begin play, it finds the pre determined path that i have laid out in the level, the path is defined by an actor blueprint i made which contains an Enemy ID this Enemy ID is checked against the AI Enemy’s ID for each actor of that class, if true that actors location is stored to a Vector Array.
It works flawlessly in terms of its mechanic but i have just encountered a problem where the Enemy AI does not follow the path exactly. I was confident that the Array Result from Get all Actors of Class was built by getting the actors based on their position in the world outliner i.e. the path nodes i placed first would be the next path the AI would go to. Evidently this is not true, does anyone know the specific order in which the get all actors of class creates the array?
It works flawlessly for paths of 3-4 nodes though this is the largest path i have created for the character and it contains around 30 path nodes.