GetParentCellWaterHeight

From the Oblivion ConstructionSet Wiki
Revision as of 16:08, 16 December 2014 by imported>QQuix (added note about cells without water)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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]