Skip to content

tes3skill⚓︎

A skill object.

This type inherits the following: tes3baseObject

Properties⚓︎

actions⚓︎

Read-only. A table with 4 values. The amount of experience an action (use of skill) awards.

Returns:

  • result (number[])

attribute⚓︎

Read-only. Skill's governing attribute. Maps to tes3.attribute constants.

Returns:


blocked⚓︎

The blocked state of the object.

Returns:

  • result (boolean)

deleted⚓︎

Read-only. The deleted state of the object.

Returns:

  • result (boolean)

description⚓︎

Loads from disk and returns the description of the skill.

Returns:

  • result (string)

disabled⚓︎

Read-only. The disabled state of the object.

Returns:

  • result (boolean)

iconPath⚓︎

Read-only. The path to the icon for the skill.

Returns:

  • result (string)

id⚓︎

Read-only. The unique identifier for this skill.

Returns:


modified⚓︎

The modification state of the object since the last save.

Returns:

  • result (boolean)

name⚓︎

Read-only. The player-facing name of the skill.

Returns:

  • result (string)

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)

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)

specialization⚓︎

The specialization in which the skill belongs. Maps to values in the tes3.specialization table.

Returns:


supportsLuaData⚓︎

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

Returns:

  • result (boolean)

Methods⚓︎

__tojson⚓︎

Serializes the object to json.

local string = myObject:__tojson()

Returns:

  • string (string)