Skip to content

spellProjectileHitWater⚓︎

The spellProjectileHitWater event fires when a spell projectile collides with water.

--- @param e spellProjectileHitWaterEventData
local function spellProjectileHitWaterCallback(e)
end
event.register(tes3.event.spellProjectileHitWater, spellProjectileHitWaterCallback)

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

spellProjectileHitActorspellProjectileHitObjectspellProjectileHitTerrainspellProjectileHitWater