Additional options for when damage has been applied via a projectile.

interface EntityApplyDamageByProjectileOptions {
    damagingEntity?: Entity;
    damagingProjectile: Entity;
}

Properties

damagingEntity?: Entity

Optional entity that fired the projectile.

damagingProjectile: Entity

Projectile that caused damage.