Difference between revisions of "GetParentCellWaterHeight"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Haama
(Note on Parent Cell reference)
imported>QQuix
(added note about cells without water)
 
(One intermediate revision by one other user not shown)
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 ==
*[[ParentCellHasWater]]
*[[ParentCellHasWater]]
*[[GetParentCell]]
*[[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]