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.