Jump to content

Sanity drain based on depth of the ocean.


Recommended Posts

Hey all. I'm trying to get my character to lose sanity while on the ocean. At the moment, I've made it so that they lose sanity while they're on a boat. However, this is focused on the prefab, and only functions in the middle of the boat. I'd prefer them to lose sanity based on the ocean biome they're in, and the depth of the water? I'm pretty sure this has to be possible, as I've seen some code for detecting ocean depth floating around, but I'm not sure what to do with it. If anyone can help me, please do!! ^^;

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...