GetWaterType - Cell

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

Gets the WaterType for this cell.

SyntaxEdit

WaterType Function GetWaterType() Native

ParametersEdit

None.

Return ValueEdit

The WaterType used by this cell.

ExamplesEdit

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

NotesEdit

  • 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 AlsoEdit