Jump to content

Create Water Element


Recommended Posts

Posted

Hello, sorry for my bad english

I want to make water elements in the gutter like in the screenshot, I use the function below

function setWater()
	setWaterLevel(10)
end
addEventHandler("onResourceStart", root, setWater)

ss.png

the function above changes all elements of water including the sea, so buildings near the sea will be submerged in water. how to make the water level only in the gutter?

Thanks

Posted
water createWater ( int x1, int y1, float z1, int x2, int y2, float z2, int x3, int y3, float z3 [, int x4, int y4, float z4 ] [, bool bShallow = false ] )

 

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...