Game attributes are not being updated to change the spawn rate...

youdvdkyoudvdk Member, PRO Posts: 21

Hello. I have been working with this problem and have researched/tried a few different ways to get my spawn rate to increase every 10 seconds. Here is what I have right now:

Spawner:
When attribute game.SpawnLimit is equal to or greater than 0, then every game.SpawnMore seconds (set at 1 second to start) spawn actor.

SpawnLimit is set at 30 and whenever the actor spawns then it subtracts 1 and when the spawned actor gets destroyed it adds another. It is just set to have a limit. Also, every 10 seconds game.SpawnMore is subtracted by 0.1.

I have the attributes game.SpawnLimit and game.SpawnMore displayed so I know they are changing the way they are supposed to.

The main problem right now is that the spawner doesn't update the new game.SpawnMore, so it only spawns every 1 second all the time.

If anyone has an idea please suggest it. I would greatly appreciate any help.
Thanks.

Comments

Sign In or Register to comment.