Changing attributes only for a specific amount of time

aeseekeaeseeke Member, PRO Posts: 16

First off, hi!

I'm creating a game where when the player hits a power up they become invincible for a specific amount of time (say 6 seconds). When the actor hits the PUP I change a global attribute called invincible to true. After 6 seconds I want the attribute to be false again. I tried a For Timer and it doesn't really change the attribute back and I wasn't sure how to do it so I figured I'd ask the genius' :).

Any help is greatly appreciated!

Comments

Sign In or Register to comment.