Author Topic: Checking if the player is in water  (Read 581 times)

What would I use to see if the player is in water or not?

if(%obj.getWaterCoverage() == 1)
Well that probably means they are full underwater so you'd use:
if(%obj.getWaterCoverage() > 0)
« Last Edit: March 31, 2009, 08:13:26 PM by Destiny/Zack0Wack0 »

Well full underwater is what I want :D. However, I'll probably use
if(%obj.getWaterCoverage() > .75)