Jump to content

HP Damage while Idle.


Recommended Posts

I want to make a character who slowly loses health when standing idle or sleeping. I'm not quite sure how to go about it doing something like that, however.
Would I put such a feature in mod main, a prefab, or a component?

It would not effect while walking/attacking/etc movements.

Don't worry, the character has an absurdly large HP pool to compensate this flaw, let's just say he's a little cursed.

Edited by Majo_Ellen
Link to comment
Share on other sites

There should be a little ) after the last end! But it works! Yes yes!

Thank you very kindly! That was just what I needed. :D With this, the basis of the coding for this character is complete...!

Now then, on to my next conquest..! (While the art comes in...)

  • Like 1
Link to comment
Share on other sites

8 hours ago, Majo_Ellen said:

There should be a little ) after the last end! But it works! Yes yes!

Thank you very kindly! That was just what I needed. :D With this, the basis of the coding for this character is complete...!

Now then, on to my next conquest..! (While the art comes in...)

Good luck

  • Like 1
  • Thanks 1
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...