B1-268 Posted October 29, 2022 Share Posted October 29, 2022 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. Link to comment https://forums.kleientertainment.com/forums/topic/144145-losing-sanity-when-taking-damage/ Share on other sites More sharing options...
Bumber64 Posted October 29, 2022 Share Posted October 29, 2022 Check Walter's prefab for the sanity loss. Link to comment https://forums.kleientertainment.com/forums/topic/144145-losing-sanity-when-taking-damage/#findComment-1605145 Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now