Jump to content

Set health regen for a certain amount of time after being hit


Recommended Posts

Can you help me with the code for regenerating an amount of health over x seconds after being hit/doing a certain thing?

inst.components.health:DoDelta

seems to continue the regeneration as long as the condition is satisfied, I want it to regen a certain amount only and then stop.

Thanks for any help xD

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
  • Create New...