Help! Timer and Attribute
u9541526@gmail.com
Member, PRO Posts: 4
Hi all, I'm new to Gamesalad
My goal is to make the Spawn actor quicker as time pass by. So I got a real attribute called game.enemySpawnTime and set it to 3 by default, and i got an actor that have a behaviors like this.
Timer
Every [game.enemySpawnTime] seconds
Rule
Attribute [game.enemySpawnTime] > 1
do this
Change Attribute [game.enemySpawnTime] to [game.enemySpawnTime-0.01]
Spawn Actor
........
Now the problem is that the game.enemySpawnTime attribute changed, but the timer with the that attribute still stay with the default value 3, why won't it change as the attribute changed?
here is a picture of the actor's behaviors
http://i.imgur.com/ALQXByK.png?1
please help
anyone?
My goal is to make the Spawn actor quicker as time pass by. So I got a real attribute called game.enemySpawnTime and set it to 3 by default, and i got an actor that have a behaviors like this.
Timer
Every [game.enemySpawnTime] seconds
Rule
Attribute [game.enemySpawnTime] > 1
do this
Change Attribute [game.enemySpawnTime] to [game.enemySpawnTime-0.01]
Spawn Actor
........
Now the problem is that the game.enemySpawnTime attribute changed, but the timer with the that attribute still stay with the default value 3, why won't it change as the attribute changed?
here is a picture of the actor's behaviors
http://i.imgur.com/ALQXByK.png?1
please help
anyone?