GetWaterType - Cell

From Creation Kit
Jump to: navigation, search

Member of: Cell Script
Requires F4SE version 0.3.1 or higher.

Gets the WaterType for this cell.

Syntax

WaterType Function GetWaterType() Native

Parameters

None.

Return Value

The WaterType used by this cell.

Examples

WaterType water = myCell.GetWaterType()
Debug.Trace(water)

Notes

  • WaterTypes can't be set as properties in the Creation Kit. If needing to compare against a specific water type, one may need to use GetFormFromFile().

See Also