How can I execute a blueprint when an actor overlaps a beam particle?
Now I have a beam that ricochets like this: http://gfycat.com/ScarceFirsthandAfricanharrierhawk I want the red beams to kill players but I dont want the beam to just end where the player is, I want the beam to go right through the player and I also want it so you can kill 2 players with 1 beam (even yourself)
So Tracing just 2 lines where 1 line is used for the beam effect and the other is used for hit detection is not preferred because that means 1 beam cannot hit more then 1 actor.
Is there a way to generate an array of all overlapping actors of the beam or linetrace? I've tried a few solutions but the particle effect doesn't seem to trigger an overlap event.
asked Mar 20 '16 at 10:48 AM in Blueprint Scripting
In your BP setup a overlap event for the particle system and setup checks to see what overlaps it and fire the event only if the overlapping actor is a player pawn or the specific character class etc. Like this:
If that doesn't work the way you want you can always create a collision box that spawns with the particle and add the overlap event to that.
answered Mar 20 '16 at 11:10 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here