I am attempting to reproduce the tutorial listed here using Unreal 4.6.1. The short version of the problem is that it seems to me like the function for checking whether my pawn is near the AI controlled pawn. Of note, I am not using the top down template. I am building off of two tutorials I finished from the documentation.
I have double checked all of my blueprint graphs and I think I’ve narrowed it down to two possible problems and two shots in the dark.
Possible Problem:
-
Inside of the behavior check, the function AgroCheck is supposed to check for things to follow. It currently has “No Activation, No Deactivation, No Search Start” listed in the green box where AgroCheck is attached to the Selector as a service. This does not match the tutorial and seems a likely symptom as to what’s going on.
-
I’m following the Follower_AI_Con debug object while having the AgroCheck graph open. The glowing line goes all the way until the ForEachLoopWithBreak node and goes no further. I tried adding a breakpoint and Unreal complained. It seems like if it can’t reach the LineTraceByChannel node then it would never check for other pawns.
Shot in the Dark Problems:
- The nav mesh isn’t set up properly? When I toggle it everything appears green like it should.
- Something isn’t initialized properly that was set in the top down template.
I’d appreciate any pointers about what to check or where to look. My next step is to check the TopDownTemplate and see if something jumps out at me.