GetWaterType - Cell

From the Fallout4 CreationKit Wiki
Revision as of 03:22, 21 January 2018 by imported>Qazaaq (added required f4se version)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

Gets the WaterType for this cell.

Syntax[edit | edit source]

WaterType Function GetWaterType() Native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

The WaterType used by this cell.

Examples[edit | edit source]

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

Notes[edit | edit source]

  • 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[edit | edit source]