Posted February 22, 2025 by lazydevstudios
#DevLog
The Problem
The enemy could not path along the grid to the player. This issue is extreme because it does not make this a strategy game, an enemy that cannot think does not work in our type of game. Implementing this into Unreal behavior tree system is still tricky.
Problem Solutions
Initially I was working on A* Path finding for this, but realized I needed more setup before hand for the AI to know. The solution I am working on is determining how far the AI could move, checking if anyone was in range, if no one is then getting the closest enemy and finding which grid in range is the closest to that. This way I will have my start and end goal to path with, additionally this will be used with the Player units so that everyone can move along the grid tiles.