This wiki is a copy of the original Oblivion CS wiki created and maintained by the UESP.net. See CSwiki:Copy Notice for more info.

IsUnderWater

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search

A command for Oblivion Script Extender

Syntax:

(isUnderWater:bool) reference.IsUnderWater

Returns 1 if the calling reference's Z position is less than 120 units under its parent cell's water height.