Game Maker

Entity Projectile Hit

Triggers when a projectile hits any entity.

This event fires when a projectile (arrow, fireball, etc.) hits any entity, player or mob.

Action Values

  • Entity: The entity that was hit.
  • Projectile: The projectile that hit the entity.
  • Shooter: The entity that shot the projectile (can be a player, skeleton, etc.).

Event Configuration

  • Target Entity Type: Filter by the type of entity that was hit.
  • Projectile Type: Filter by the type of projectile.
  • Cancel Event: If true, the projectile will not deal damage or have any effect.

Use Cases

  • Making certain entities immune to arrows.
  • Applying a custom effect instead of damage when a specific projectile hits.
  • Creating a "deflect" mechanic by launching a new projectile back at the shooter.