AI Follower

This is a personal project.

GOAL

  • Create an limited ammo projectile system.

  • Create an AI Follower that returns fired projectiles back the player.

PROCESS AND ITEMS OF NOTE

  • I first made this using the behavior tree and blackboard system with a AI controller. I got this working, but I wanted to try making this in Blueprints.

  • I remade it in Blueprints using triggered custom events. I have a custom event for throwing the ball, and 3 other custom events:

    • Find Ammo: this searches the level for actors of class, then compares distances to find the nearest to the AI pawn.

    • Go to Ammo: this moves the AI, destroys the target actor, and toggles visibility for the Ball over the AI’s head.

    • Return to Player: this moves the AI to the player, toggles off visibility, and adds ammo back to the player’s supply.

Previous
Previous

Unannounced Project

Next
Next

Floor Is Lava