Game Maker

Projectile Land

Triggers when a projectile lands on a block or hits an entity.

This event is a more general version of Entity Projectile Hit. It fires when a projectile's flight ends, either by hitting an entity or a block.

Action Values

  • Projectile: The projectile itself.
  • Shooter: The entity that fired the projectile.
  • Hit Entity (Optional): The entity that was hit, if any.
  • Hit Block (Optional): The block that was hit, if any.
  • Location: The point of impact.

Event Configuration

  • Projectile Type: Filter by the type of projectile.

Use Cases

  • Creating a "teleport arrow" that moves the player to the arrow's landing spot.
  • Spawning an explosion where a snowball lands.
  • Creating a special effect at the point of impact.

Example: A Teleport Arrow

  1. Event: Projectile Land.
  2. Configuration: Set Projectile Type to ARROW.
  3. Actions:
    • Conditional: Check if the Shooter is a Player.
    • If Actions:
      • Teleport: Target the Shooter and teleport them to the Location of the event.
      • Kill: Target the Projectile to remove the arrow from the world.