tes3aiConfig⚓︎
A game object which contains AI configuration information for an actor. This includes: alarm, fight, flee, hello values, which services the actor provides, goods types the actor trades in, and possible destinations this actor can take the player to.
Properties⚓︎
alarm⚓︎
Friendly access to actor's alarm value.
Returns:
result(number)
bartersAlchemy⚓︎
Friendly access to a flag that controls whether the actor barters in potions.
Returns:
result(boolean)
bartersApparatus⚓︎
Friendly access to a flag that controls whether the actor barters in alchemical apparati.
Returns:
result(boolean)
bartersArmor⚓︎
Friendly access to a flag that controls whether the actor barters in armor.
Returns:
result(boolean)
bartersBooks⚓︎
Friendly access to a flag that controls whether the actor barters in books.
Returns:
result(boolean)
bartersClothing⚓︎
Friendly access to a flag that controls whether the actor barters in clothing.
Returns:
result(boolean)
bartersEnchantedItems⚓︎
Friendly access to a flag that controls whether the actor barters in enchanted items.
Returns:
result(boolean)
bartersIngredients⚓︎
Friendly access to a flag that controls whether the actor barters in alchemical ingredients.
Returns:
result(boolean)
bartersLights⚓︎
Friendly access to a flag that controls whether the actor barters in lights.
Returns:
result(boolean)
bartersLockpicks⚓︎
Friendly access to a flag that controls whether the actor barters in lockpicks.
Returns:
result(boolean)
bartersMiscItems⚓︎
Friendly access to a flag that controls whether the actor barters in miscellaneous items.
Returns:
result(boolean)
bartersProbes⚓︎
Friendly access to a flag that controls whether the actor barters in probes.
Returns:
result(boolean)
bartersRepairTools⚓︎
Friendly access to a flag that controls whether the actor barters in repair hammers and prongs.
Returns:
result(boolean)
bartersWeapons⚓︎
Friendly access to a flag that controls whether the actor barters in weapons.
Returns:
result(boolean)
fight⚓︎
Friendly access to actor's fight value.
Returns:
result(number)
flee⚓︎
Friendly access to actor's flee value.
Returns:
result(number)
hello⚓︎
Friendly access to actor's hello value.
Returns:
result(number)
merchantFlags⚓︎
Numeric access to all merchant flags. Shouldn't be used directly.
Returns:
result(number)
offersBartering⚓︎
Read-only. If true, the actor will barter in at least one type of item.
Returns:
result(boolean)
offersEnchanting⚓︎
Friendly access to a flag that controls whether the actor offers enchanting services.
Returns:
result(boolean)
offersRepairs⚓︎
Friendly access to a flag that controls whether the actor offers item repairs service.
Returns:
result(boolean)
offersSpellmaking⚓︎
Friendly access to a flag that controls whether the actor offers spellmaking service.
Returns:
result(boolean)
offersSpells⚓︎
Friendly access to a flag that controls whether the actor sells spells.
Returns:
result(boolean)
offersTraining⚓︎
Friendly access to a flag that controls whether the actor offers training services.
Returns:
result(boolean)
travelDestinations⚓︎
A table access to all tes3travelDestinationNode objects this actor can take the player to.
Returns:
result(tes3travelDestinationNode[])