[Help!] How to make the spawn rate increase over time?

A timer is a component. Just setting a variable you've made on an actor (like you've done) will not affect the component. The variable doesn't get ~linked~ to the timer just because you used it to assign a value when you spawned the component.

You'd need a wire to loop back to the Set Timer By Event node, except that would probably just spawn a new timer. I haven't tested it, and won't, because this situation cries out for a TimeLine rather than a timer. There's a method you can use on TimeLines to set the playrate.

Here's one method for actually doing this thing. I've tested it. It works:

http://i.imgur.com/GCc3dzO.png

Notice, I have a Timer to fire the event that sets the playback rate of the Timeline. This timer doesn't spawn anything. That's the Timeline's job.

To make a Timeline, right click somewhere within your graph. Type in "timeline" to search for the item "Add Timeline". Once you have a Timeline, double click the Timeline node itself to edit it. All you really need to edit for your purpose is have a duration on your timeline. Don't make it Loop, or else it will never finish.

You need to have a track on your timeline for it to work correctly. Just as a placeholder, click the float track button in the timeline editor. Add a key by right clicking. Make the key at time. Add another key by right clicking. Make the key positioned at your max duration.

It should look something like this:

http://i.imgur.com/6lcT28G.png

I also noticed, in your original set of blueprints, you are spawning your actors at the Origin of the Trace. You can do the same thing, better, by sweeping. Notice on my version, I've set the Collision Test Override on my Spawn Actor node. I haven't really looked to ensure it's working as expected. Tinker and figure out it!

Do everything right, and this might be the result you get:

http://i.imgur.com/Ooobswg.png

/r/unrealengine Thread Parent