Timer Property

Hi there:
I’ve been working on a little game, and have wanted to make sort of a speed power up. I have set up some logic bricks - See Attachments. Ive made it so that there is a timer property assigned to the Power up that starts at 5. when the player touches the object, It sets the timer to 0. when the timer is between 0 and 5, the pick up sends a message (speed) to the player. and when the message is being sent I will make the player speed up. Instead of making it speed up, I just set it to make it invisible to test it, but when I start the game, the cube starts off invisible, and stays that way until you exit.

Any Ideas on how to fix this?

Attachments



Hello
not very clear?
Try to set the “TIMER” property to 1 instead of 0, maybe?!
Bye

or make the property sensor between -1 and 5

Have you tried setting the timer property to 6

For me the timer and the property sensor didn’t mix well idk why. So what I did was setup a fake timer using init value:

Always f:60___AND___Property: faketimer: +1

Are you resetting the invis/vis after it ends?

I think you’re timer is starting at 0, soit’s sending the message straight away. Try setting your timer to start at 6 instead :wink: