Skip to content

spellProjectileHitTerrain⚓︎

The spellProjectileHitTerrain event fires when a spell projectile collides with terrain.

--- @param e spellProjectileHitTerrainEventData
local function spellProjectileHitTerrainCallback(e)
end
event.register(tes3.event.spellProjectileHitTerrain, spellProjectileHitTerrainCallback)

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.
  • velocity (tes3vector3): Read-only. The velocity of the spell projectile at collision.

spellProjectileHitActorspellProjectileHitObjectspellProjectileHitTerrainspellProjectileHitWater