Why doesn't multiple events get called on ActorBeginOverlap?
I'm making a beginner game where I spawn enemies, health packs, ammo packs randomly in an actor which is a box. This BP typically works when I use it in Level BP with BeginPlay, but now since I want to restrict it to certain areas of a level after the player enters I took this approach.
For some reason only the first event gets called, regardless of the order of events... How would I make it call all the events?
asked Dec 09 '18 at 08:28 AM in Blueprint Scripting
In your fSpawnEnemy, fSpawnHealthPack and fSpawnAmmoPack functions add a PrintString node that prints function name and see if it prints it - it should print the first function after 2 seconds, second one after 5 seconds and the last one after 10 seconds. Timers don't execute functions immediately, the functions will be called after X specified time. If you want to fire the functions immediately after overlap and start the timer, try something like this, I've recreated your setup and it works properly:
answered Dec 09 '18 at 10:56 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here