GetParentCellWaterHeight

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search

A command for Oblivion Script Extender

Syntax:

(waterHeight:float) reference.GetParentCellWaterHeight
(waterHeight:float) reference.GetWaterHeight

Returns the water height of the reference's parent cell (don't use the reference of the Parent Cell itself).

Returns 0 if the cell does not have water. Use ParentCellHasWater to determine whether the cell has water.

See Also[edit | edit source]