Difference between revisions of "GetParentCellWaterHeight"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>8asrun6aer
m (adding related link)
imported>QQuix
(added note about cells without water)
 
Line 6: Line 6:


Returns the water height of the reference's parent cell (don't use the reference of the Parent Cell itself).
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 ==
== See Also ==

Latest revision as of 16:08, 16 December 2014

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]