Jump to content

HELP PLEASE WATER SYSTEM !!!


Recommended Posts

Hii there , how to add water into some interior ? i want to make custom interior ( swimming pool )

Thx

Functions Needed:

createWater: WIKI LINK

setElementInterior: WIKI LINK

Explanation:

Use createWater to create a body of water. Define it under a variable, then use setElementInterior to set it's interior !

Example:

local water = createWater(x1, y1, height, x2, y2, height, x3, y3, height, x4, y4, height) 

Where: Z coordonate needs to be always the same, otherwise weird things will happed (i think). Just change HEIGHT with a number

Where: x1, y1 = South West Coordonates

Where: x2, y2 = South East Coordonates

Where: x3, y3 = North West Coordonates

Where: x4, y4 = North East Coordonates

setElementInterior(water, INTERIOR_ID) 

Where: INTERIOR_ID is the ID of the interior you want it to be !

Don't forget to also set the dimension if it is in another than 0

Link to comment

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