1 week into teaching myself unreal engine, so go easy on me
I have an item spawner with a delay of 2 seconds. This spawns an item (enemy) into my game every 2 seconds. My question is, how can i gradually decrease the delay over time?
Basically iād like to have enemies spawn in at an increasingly faster rate over time. Hereās what i have so far:
You could also try some simple math - like get game time and multiply by that or maybe start a timer and multiply by that. Or each time an actor is spawned, just subtract a tiny bit from the timer.
Do you know the basics of how to increment/decrement a float / integer variable?
Use the increment function ā++ā or the add/multiply function and connect it after completed in delay then again set the variable spawner time then you are good to go