I’m using the “Move to Location or Actor” to move my NPCs to a storage shelf. Afterwards they are going to check and see if they can stock the inventory of the storage item. My issue is in having them only stock the shelf when they get to the shelf. If I attach the funcitions to the normal pins on the top then they essentially commit the action while walking to the storage shelf. If I put the actions on the On Move Finished then they only check one shelf. In the later case it seems like it is only doing the action for the last item in the array. I’m not sure I’m properly understanding how to use this particular function.
This is located in the behavorial tree. I do a sphere trace and send those hit results to a for each loop. No problem with detecting the right objects.
This function is called afterwords in order to check the inventory and restock. The shpere trace is being passed the hit result but only the last one in the array. It appears that the entire array is being looped through and then this is called verses it being called every loop.