Skip to content

projectileHitActor⚓︎

The projectileHitActor event fires when a projectile collides with an actor.

--- @param e projectileHitActorEventData
local function projectileHitActorCallback(e)
end
event.register(tes3.event.projectileHitActor, projectileHitActorCallback)

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 mobile projectile.
  • firingReference (tes3reference): Read-only. Reference to the actor that fired the projectile.
  • firingWeapon (tes3weapon): Read-only. The weapon that fired the projectile.
  • mobile (tes3mobileProjectile): Read-only. The mobile projectile that is expiring.
  • position (tes3vector3): Read-only. The position of the mobile projectile at collision.
  • target (tes3reference): Read-only. Reference to the actor that was hit.
  • velocity (tes3vector3): Read-only. The velocity of the mobile projectile at collision.

projectileHitActorprojectileHitObjectprojectileHitTerrainprojectileExpire