Jump to content

[Scripting] health decay


Recommended Posts

Is there a way to make health decay similar to the way sanity drops in the dark?

 

I have a character that takes sun damage and currently I'm using DoPeriodicTask and inst.components.health:DoDelta()

 

It works, but it's rather distracting to hear the health lost sound effect every second or so and to not have that fancy black arrow over the health bar.

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...