[SUPPORT] Advanced Turn Based Tile Toolkit

Ok, I’ve found a solution to the game freezing, though I’m not 100% certain on the cause yet. It seems like one of the later UE4 updates has caused an issue with using event dispatchers on child actors, which screws up using my Pathfinding per Tick macro in the grid manager child actor in the 2D game example. You can prevent the game from freezing by replacing the Pathfinding per Tick event call in the Search for targets behind friendly units of ATBTT_AI_Controller with a regular pathfinding function. This should probably still not cause a framerate drop when calculating pathfinding. Here is what to replace:

Old:

New:

I will look more into this to discover the true source of the issue. It does not occur with the regular toolkit, only the 2D example. As I mentioned it probably has to do with event dispatchers not working properly for child actors.