anonnyer Posted July 1, 2024 Share Posted July 1, 2024 I'm new to mod making, and scripting in general, and have been using guides to figure things out, but I'm stuck on trying to get the character to take health/sanity damage from rain Link to comment https://forums.kleientertainment.com/forums/topic/157770-need-to-make-a-character-take-damage-from-rainlose-sanity-when-rained-on/ Share on other sites More sharing options...
alainmcd Posted July 5, 2024 Share Posted July 5, 2024 Welcome to the forums! WX-78 and Wurt have specific behaviours for rain, similar to what you seem to be looking for. Have you checked them out? That's prefabs/wx78.lua ll. 305-380, especially the moisturetrack_update function, and the OnWetnessChanged function in prefabs/wurt.lua, ll. 525-553. Happy modding! Link to comment https://forums.kleientertainment.com/forums/topic/157770-need-to-make-a-character-take-damage-from-rainlose-sanity-when-rained-on/#findComment-1732941 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