Skip to content

spellProjectileHitActor⚓︎

The spellProjectileHitActor event fires when a spell projectile collides with an actor.

--- @param e spellProjectileHitActorEventData
local function spellProjectileHitActorCallback(e)
end
event.register(tes3.event.spellProjectileHitActor, spellProjectileHitActorCallback)

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

  • collisionPoint (tes3vector3): Read-only. The collision point of the spell projectile.
  • firingReference (tes3reference): Read-only. Reference to the actor that fired the projectile.
  • mobile (tes3mobileSpellProjectile): Read-only. The spell projectile that is expiring.
  • position (tes3vector3): Read-only. The position of the spell projectile at collision.
  • target (tes3reference): Read-only. Reference to the actor that was hit.
  • velocity (tes3vector3): Read-only. The velocity of the spell projectile at collision.

spellProjectileHitActorspellProjectileHitObjectspellProjectileHitTerrainspellProjectileHitWater