Problem with using the timer behavior inside a rule

trilokpotluritrilokpotluri Member Posts: 7
edited August 2012 in Working with GS (Mac)
I have a power up which doubles the player speed for about 5 seconds..so i made a new attribute: players_speed..I set it to 1 initially and my players speed is (game.players_speed*600)...so its basically 600..

But wen i use a timer inside a rule saying when player collides with power up for 5 seconds change atribute: players_speed=2...its doubling the speed permanently and not returning to its original speed...

Is there something with using timers inside a rule that im not aware of?

Best Answer

  • kinzuakinzua Posts: 554
    Accepted Answer
    @trilokpotluri double check ur logic.. u must be looping it somehow.. u can also add.. after 5s.. change speed to x..

Answers

Sign In or Register to comment.