Skip to content

enchantedItemCreateFailed⚓︎

This event is fired when an enchanted item could not be created.

--- @param e enchantedItemCreateFailedEventData
local function enchantedItemCreateFailedCallback(e)
end
event.register(tes3.event.enchantedItemCreateFailed, enchantedItemCreateFailedCallback)

Tip

An event can be claimed by setting e.claim to true, or by returning false from the callback. Claiming the event prevents any lower priority callbacks from being called.

Event Data⚓︎

  • baseObject (tes3item): Read-only. The item originally enchanted.
  • enchanter (tes3mobileActor): The mobile actor responsible for failing to create the enchantment.
  • enchanterReference (tes3reference): The reference responsible for failing to create the enchantment.
  • soul (tes3actor): The actor used to enchant the item.
  • soulGem (tes3misc): The soul gem used for the failed creation of the item.

enchantedItemCreated