Skip to content

tes3land⚓︎

A heightfield landscape used by an exterior cell.

This type inherits the following: tes3baseObject

Properties⚓︎

blocked⚓︎

The blocked state of the object.

Returns:

  • result (boolean)

deleted⚓︎

Read-only. The deleted state of the object.

Returns:

  • result (boolean)

disabled⚓︎

Read-only. The disabled state of the object.

Returns:

  • result (boolean)

flags⚓︎

Read-only. A numeric representation of the packed bit flags for the landscape, typically accessed from other properties.

Returns:

  • result (number)

gridX⚓︎

Read-only. The cell's X grid coordinate.

Returns:

  • result (number)

gridY⚓︎

Read-only. The cell's Y grid coordinate.

Returns:

  • result (number)

id⚓︎

Read-only. The unique identifier for the object.

Returns:

  • result (string)

maxHeight⚓︎

Read-only. The height of the highest land vertex.

Returns:

  • result (number)

minHeight⚓︎

Read-only. The height of the lowest land vertex.

Returns:

  • result (number)

modified⚓︎

The modification state of the object since the last save.

Returns:

  • result (boolean)

objectFlags⚓︎

Read-only. The raw flags of the object.

Returns:

  • result (number)

objectType⚓︎

Read-only. The type of object. Maps to values in tes3.objectType.

Returns:


persistent⚓︎

The persistent flag of the object.

Returns:

  • result (boolean)

sceneNode⚓︎

Read-only. The scene graph node for the landscape. Contains sub nodes for land patches.

Returns:


sourceless⚓︎

The soruceless flag of the object.

Returns:

  • result (boolean)

sourceMod⚓︎

Read-only. The filename (including the extension) of the mod that owns this object. It has nil value if the object was anything other than loaded from an ESP or ESM file.

Returns:

  • result (string)

supportsLuaData⚓︎

If true, references of this object can store temporary or persistent lua data.

Returns:

  • result (boolean)

textureIndices⚓︎

Read-only. An array containing texture index numbers. They are 0-based indexes. They index into the global land texture list, tes3.dataHandler.nonDynamicData.landTextures. Adjustment is required when indexing the list through lua.

Returns:

  • result (number[])

Methods⚓︎

__tojson⚓︎

Serializes the object to json.

local string = myObject:__tojson()

Returns:

  • string (string)