Page 1 of 1
How do you limit the uses of a custom power-up?
Posted: Fri Jan 20, 2017 8:38 pm
by PersonNamedUser
I know i'm asking a lot of questions, but how can you limit the amount you can use a power-up before it runs out.
Re: How do you limit the uses of a custom power-up?
Posted: Fri Jan 20, 2017 9:02 pm
by PixelPest
You can use eventu.lua or a normal counter to count as a timer and then player:harm() to lose the power-up
Re: How do you limit the uses of a custom power-up?
Posted: Fri Jan 20, 2017 9:19 pm
by PersonNamedUser
is there a way you could post a code showing how it works?