Blockland Forums
Home
Help
Login
Register
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Checking if the player is in water
« previous
next »
Print
Pages: [
1
]
Author
Topic: Checking if the player is in water (Read 580 times)
Digmaster
March 31, 2009, 07:48:51 PM
What would I use to see if the player is in water or not?
Ad Bot
Advertisement
Destiny/Zack0Wack0
March 31, 2009, 08:06:55 PM
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
»
Digmaster
March 31, 2009, 08:22:01 PM
Well full underwater is what I want :D. However, I'll probably use
if(%obj.getWaterCoverage() > .75)
Print
Pages: [
1
]
« previous
next »
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Checking if the player is in water