Skip to content

combatStarted⚓︎

The combatStarted event occurs after combat has began between two actors. This event is preceded by the combatStart event. An actor A can start combat with actor B, which will fire the event. Then the actor B may also start combat with actor A which will trigger the event again.

--- @param e combatStartedEventData
local function combatStartedCallback(e)
end
event.register(tes3.event.combatStarted, combatStartedCallback)

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

  • actor (tes3mobileActor): Read-only. The mobile actor who has entered combat.
  • target (tes3mobileActor): Read-only. The mobile actor who combat has been triggered against.

combatStartcombatStartedcombatStopcombatStopped