I’m running into a major problem that is causing problems with my AI blueprint tree. I setup a whole tree and it didn’t update correctly so I figured I would start smaller and do simple waypoints first. A TeamWaypoint is an actor with a location, team(int) and order(int).
Essentially I iterate over all actors on the class and navigate to whatever is the current Waypoint is starting with 0 (ignoring it if it’s for the other team).
Everything works perfectly for the first waypoint. It’s detected and the ai runs to it. But when it goes to find the second waypoint, it doesn’t seem to know it’s on waypoint 1 instead of waypoint 0.
In my move to task I added a decorator to update the route when it finished.
Essentially, wen it finished go to the next route.
But in my task the value for the key Waypoint is never updated. Even with breakpoints it is always 0 no matter how long passes. It just won’t change.
Even with breakpoints this value is always 0. the keys in the blueprint Tree details are set correctly as well. It even updates the variable in the blackboard tab of the Behavior Tree so I know it is updating. Note that the waypoint key has a value of 1.
I’m at a bit of a loss as to what might be happening here. Is this a bug?