How Do I Spawn Actors Exponentially?

I have a actor spawning another actor every 5 seconds. I want the actors to spawn exponentially. I know how to do some basic exponential equations I just need to know how to set it up in the spawner. For example, I want the first actor to spawn in lets say 5 seconds, the next one in 4.75 seconds, next one 4.25 etc. It would be greatly appreciated if anyone could tell me or show me an example how to do this.
Best Answer
-
POM Posts: 2,599
Hey mate ,
I do it using the "self.time" attribute .. capturing it to a temp attribute , and make a rule based on a pre made Delta , and reduce that delta after every spawn and recapture "self.time" ..
I made a quick demo for you , see the rule for the spawn its very simple !
http://www.mediafire.com/?nc9ch958fiddrf2Roy
Answers
It was either increase the spawn rate of actors or increase gravity after time.
How would I go about increasing gravity exponentially after X amount of time?
-Blackmill