How to loop component begin overlap blueprint
So what im trying to do is make an AI spawner, that has a set range, and when a player enters the range it spawns AI/mobs until the player leaves the range or kill the spawner.
Im pretty sure I have it setup correctly, but ever time I try a whileloop, I get a infinite error. I also tried with a gate, but my lack of UE knowledge is preventing me from using it correctly.
Here is the code im using.
One simpler way is to use a Timer node: https://docs.unrealengine.com/en-us/Gameplay/HowTo/UseTimers/Blueprints
answered Jan 30 '19 at 12:47 PM
Another way to do it (besides the one @Chyros mentioned) is to set a boolean in begin and end overlap for example named "isOverlapping". then use it in the tick function.
here is a good link : https://answers.unrealengine.com/questions/101748/is-there-is-overlapping-in-unreal.html
answered Jan 30 '19 at 01:44 PM
Just set it up like this and it will work how you want.
answered Jan 30 '19 at 03:54 PM
Nebula Games Inc
Follow this question
Once you sign in you will be able to subscribe for any updates here