Skip to content

scriptExecuted⚓︎

This event is fired after a Morrowind script finishes executing.

--- @param e scriptExecutedEventData
local function scriptExecutedCallback(e)
end
event.register(tes3.event.scriptExecuted, scriptExecutedCallback)

Tip

This event can be filtered based on the script event data.

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⚓︎

  • info (tes3dialogueInfo, nil): Read-only. The dialogue info associated with this script execution, if any.
  • reference (tes3reference, nil): Read-only. The primary reference passed to the script, if any.
  • reference2 (tes3reference, nil): Read-only. The secondary reference passed to the script, if any.
  • script (tes3script): Read-only. The script that finished executing.
  • variables (table): Read-only. A snapshot of the script variables that were used during execution.

scriptExecute