• Checking for entities in a body of water?
    5 replies, posted
The title pretty much says it all. I tried finding entities in a sphere and checking if they're on a certain water level, but this obviously leads to a lot of problems. Can someone point me towards the right direction of doing this?
Entity/WaterLevel Use that and you're all set
I already know how to check if an entity is on water or not. I was trying to figure out on how to check for other entities in the body of water that entity is in. If that still isn't clear, I'm simply trying to make electricity spread in water.
ents.FindInSphere combined with Entity/WaterLevel possibly?
You can't really identify a body of water.
Do a pairs loop over a findInSphere and add players under a certain WaterLevel threshold to a table, then iterate over that table.
Sorry, you need to Log In to post a reply to this thread.