Is It Possible To Change A Timer While The Game Is Running?

KevinCrossKevinCross London, UKMember Posts: 1,894
edited September 2013 in Working with GS (Mac)
Hi

Does anyone know how to change a timer while a game is running please? Setting the expression of the timer with a self or game attribute doesn't change it once the timer has initially been created.

I'm moving an item in a table down a row every 0.5 seconds, but I want it to move down quicker if the down cursor key is pressed, so changing the timer to 0.1 or 0.05 seconds etc. I have the down key changing the speed attribute.

It's currently:

Timer: Every game.Movement Speed Seconds
Move data down in table

I thought this below fix might have worked but the initials speed is faster than I want and it seems a bit sporadic in moving down.

Timer: Every 0.0 Seconds
Change Attribute: Time In Existence = self.Time % game.Movement Speed
Rule: If Time In Existence = 0
Move data down in table

Thanks in advance

Best Answer

Answers

Sign In or Register to comment.