so this is the logic I use to spawn the projectiles when i am within the collision but how do i say stop when i leave the collision??
Instead of using a delay and creating a loop that way, you can use a timer! Get a Set Timer by Event
node, tick that Looping
checkbox inside it and set it’s float type Time
pin to your liking. Then connect the input execution pin of the timer to your Begin Overlap node. After that, create a custom event and connect it’s output execution pin to your Spawn Actor node, and connect it’s red square pin to the red square Event
pin of our timer.
Once you got these set up, get an End Overlap node, and connect it to a Clear and Invalidate Timer by Handle
node. And finally, connect the blue Return Value
pin of our timer to the Handle
pin of that node.
Hope this helps!
YOUR AN ANGEL!!! When I was creating this I thought of a timer but I was like… noooo im sure this’ll be he same… ■■■■ lol THANK YOU IT WORKED!!