wla9651 Posted December 21, 2023 Share Posted December 21, 2023 "Hello Don't Starve community, I'm working on a mod that includes a feature for health regain on attack, using the following Lua script snippet: if attacker.components.health and not attacker.components.health:IsDead() then attacker.components.health:DoDelta(5) end This code successfully restores health to the attacker, but it also triggers the default health regain sound effect. I'm looking to remove or disable this sound effect while keeping the health regain functionality intact. Does anyone have advice or suggestions on how to achieve this? Any guidance or code examples would be greatly appreciated. Thanks in advance for your help!" Link to comment https://forums.kleientertainment.com/forums/topic/153462-how-to-remove-health-regain-sound-effect-in-dont-starve-mod/ 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