Jump to content

Recommended Posts

So I've been trying to make my character lose some sanity when he gets hit. Been trying to solve this for a few hours, tried doing this using
 

inst:ListenForEvent("healthdelta", onhealthdelta)

But it seems to change my sanity whenever my health changes in general, meaning that when I heal my sanity is affected as well. Anyone got any solutions to this? It would be greatly appreciated. 

Oh also I wanted to make my character take x1.4 external damage when his sanity is lower than 50%. No idea how to do it, need help with this too.

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
×
  • Create New...