Timer for Object

Hello there,

I have a target that when it gets hit by a projectile it goes from OFF to ON.
I’ve been trying to set a timer so that it reverts back to it’s OFF state after 3 seconds.

Any recommandation on how should I go about it? And, if possible, I’d love to display a countdown on the target so that the player has a visual reference.


at the end of your GATE ON event just add a ‘Set Timer by function name’ node , add the name of your GATE OFF event and set the time to 3 secs.

Why you create a material at the end of the event? you dont do anything with that one.

Thanks. It’s just what I needed.

For the material, it’s to change the color from red to green. Which works.
Should I have done this in a different way?

1 Like