How do I get my pawn to trigger an overlap event?
IMPORTANT: Have done some further BP programming, I have worked out that the only thing wrong with my initial Blueprint was that the Trigger Volume was smaller than the TargetPoint the NPC was running to. This means that the Trigger Volume was never being overlapped. That means, for anyone reading this now, that my first BP is correct. It was my placement in the level that was wrong. I could have got my method to work perfectly, if I had known this, and just increased the size of my trigger volume. Sorry! :)
I have a pawn called BasicAI. He runs to a TargetPoint with a TriggerVolume around it. How do I get the OnActorBeginOverlap event for the TriggerVolume to fire when he reaches it?
The event is set up to fire if the Player enters the Volume by default, and I can't work out how to change it to the Pawn. I've tried connecting the OnActorBeginOverlap event's Other Actor node to Cast To Basic AI, but to no avail.
If someone could let me know what I am doing wrong, I would be very grateful. Also, points! :)
EDIT: Here is my new BP for the successful patrol, after Raiden's help. It doesn't use the onactorbegineoverlap, but actually serves my purposes better.
I hope this helps what you are trying to achieve. I have just created a simple patrol route for an AI bot I am using. What happens is I hit the trigger and the bot moves to the first point which in this case is point 2. After 0.2 seconds he then moves to point 3, then again after 0.2 seconds he moves to point 4 which he then moves immediately to point 2 again but only because I forgot to put a delay at that point.
In short activate the trigger and he moves from point 2, to point 3, to point 4 and then back to point 2. Is this what you wanted?
answered Aug 29 '14 at 06:11 PM
It seems that Raiden58237 was able to help you solve your issue. If this is correct I will be closing this post as resolved for tracking purposes. If you are still experiencing the same issue that you originally reported please feel free to respond to this post and we will investigate further.
answered Sep 10 '14 at 02:50 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here