Slowly increase delay on my spawner

Hi,

1 week into teaching myself unreal engine, so go easy on me :slight_smile:

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:

Look up ā€œcurve assets in unrealā€.

(WTF Is? Curves in Unreal Engine 4 ( UE4 ) - YouTube)

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?

You canā€™t have a delay on tick, it does nothing.

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