Skip to content

tes3aiPlanner⚓︎

A game object which contains information on actor's current and assigned AI packages.

Properties⚓︎

currentPackageIndex⚓︎

Read-only. Access to index of currently active AI package in packages table.

Returns:

  • result (number)

mobile⚓︎

The access to mobile actor this tes3aiPlanner object works on.

Returns:


nextOpenPackageIndex⚓︎

Read-only. This is the index in .packages table that represents the currently active AI package.

Returns:

  • result (number)

packages⚓︎

Read-only. The table with tes3aiPackage objects assigned to this mobile actor. These packages are executed as instruction in the order they are defined. When the last one is executed, the cycle is repeated from the start. Has 32 entries, where any can be nil.

Returns:


Methods⚓︎

getActivePackage⚓︎

Fetches currently active AI package.

local result = myObject:getActivePackage()

Returns: