Difference between revisions of "GetParentCellWaterHeight"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Haama
(Created)
 
imported>QQuix
(added note about cells without water)
 
(3 intermediate revisions by 2 users not shown)
Line 5: Line 5:
  (waterHeight:float) reference.GetWaterHeight
  (waterHeight:float) reference.GetWaterHeight


Returns the water height of the referenced parent cell.
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 ==
*[[ParentCellHasWater]]
*[[ParentCellHasWater]]
*[[GetParentCell]]
*[[GetTerrainHeight]]


<!--[[Category:OBSE Functions]]  
<!--[[Category:OBSE Functions]]  

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]