4.20 Not retrieving Key Name

I have all the same code and the index is being set at 0 however the correct name is not being resolved!

THe next index is being set at 1 but nothing further is occuring.

Unreal%20issue%202

Can anyone tell me what it going on?

Ok Partially solved. I have one NPC working the other is not detecting values and is throwing an error saying

LogScript: Warning: Script Msg: Attempted to access index 0 from array ‘Patrol_Points’ of length 0 in ‘/Game/ThirdPersonCPP/Blueprints/ChooseNextWaypoint_BP.ChooseNextWaypoint_BP_C’!
LogScript: Warning: Script Msg: Modulo by zero

Should this work for multiple Guards? and Anyone got any suggestions on how to fix the new issue?

Sam? Any one?

It sounds like the second guard does not have any waypoints set in the Patrol_Points array. Did you set the array on an instance of the guard, one that is in the world? Those will not be copied to the other guards.
You would need to set the array elements on the base class (the one in the Content Browser) if you want them to be on all the guards, but then unless you change them in the scene, all the guards will all follow the same route.

Privacy & Terms