Skip to content

tes3nonDynamicData⚓︎

A child container from tes3dataHandler, where game data is stored.

Properties⚓︎

activeMods⚓︎

Read-only. A collection of all actively loaded mods.

Returns:


birthsigns⚓︎

Read-only. A collection of all birthsign objects.

Returns:


cells⚓︎

Read-only. A collection of all cell objects.

Returns:


classes⚓︎

Read-only. A collection of all class objects.

Returns:


dialogues⚓︎

Read-only. A collection of all dialogue objects.

Returns:


factions⚓︎

Read-only. A collection of all faction objects.

Returns:


globals⚓︎

Read-only. A collection of all global variable objects.

Returns:


isSavingOrLoading⚓︎

Read-only. True when in the process of saving or loading the game.

Returns:

  • result (boolean)

landTextures⚓︎

Read-only. A collection of all land texture objects.

Returns:


lastLoadedFile⚓︎

Read-only. The last loaded savegame file.

Returns:


magicEffects⚓︎

Read-only. A table of references to all magic effects. This is a dictionary, as the effect list may have gaps.

Returns:


mapTexture⚓︎

Access to the World map texture.

Returns:


objects⚓︎

Read-only. A collection of all other game objects.

Returns:


races⚓︎

Read-only. A collection of all race objects.

Returns:


regions⚓︎

Read-only. A collection of all region objects.

Returns:


scripts⚓︎

Read-only. A collection of all script objects.

Returns:


skills⚓︎

Read-only. A table of references to all 27 skills.

Returns:


soundGenerators⚓︎

Read-only. A collection of all sound generator objects.

Returns:


sounds⚓︎

Read-only. A collection of all sound objects.

Returns:


spells⚓︎

Read-only. A collection of all spell objects.

Returns:


startScripts⚓︎

Read-only. A collection of all start script objects.

Returns:


Methods⚓︎

addNewObject⚓︎

Inserts a newly created object into the proper collections.

local result = myObject:addNewObject(object)

Parameters:

Returns:

  • result (boolean)

deleteObject⚓︎

Removes an object from the proper collections.

myObject:deleteObject(object)

Parameters:


drawCellMapMarker⚓︎

Draws a map marker box for an exterior cell onto the world map.

myObject:drawCellMapMarker(cell)

Parameters:


findDialogue⚓︎

Locates a dialogue for a given ID.

local result = myObject:findDialogue(id)

Parameters:

  • id (string)

Returns:


findFirstCloneOfActor⚓︎

Locates the first reference for a given object ID.

local result = myObject:findFirstCloneOfActor(id)

Parameters:

  • id (string)

Returns:


findGlobalVariable⚓︎

Locates a global variable for a given ID.

local result = myObject:findGlobalVariable(id)

Parameters:

  • id (string)

Returns:


findScript⚓︎

Locates a script for a given ID.

local result = myObject:findScript(id)

Parameters:

  • id (string)

Returns:


findSound⚓︎

Locates a sound for a given ID.

local result = myObject:findSound(id)

Parameters:

  • id (string)

Returns:


getGameFile⚓︎

Returns a tes3gameFile for a given file name.

local gameFile = myObject:getGameFile(fileName)

Parameters:

  • fileName (string): The name of the file to get.

Returns:

  • gameFile (tes3gameFile, nil): The game file associated with the name.

resolveObject⚓︎

Locates a general object for a given ID.

local result = myObject:resolveObject(id)

Parameters:

  • id (string)

Returns:


showLocationOnMap⚓︎

Draws map marker boxes onto the world map for all cells with names starting with the prefix. e.g. showLocationOnMap("Vivec") draws boxes for all cells in Vivec, because the cell names "Vivec, Arena", "Vivec, Temple", etc. matches.

myObject:showLocationOnMap(cellNamePrefix)

Parameters:

  • cellNamePrefix (string)