My compatibility update for UE4.14 is out. The only thing that needed fixing was replacing the materials of the tile maps in the 2D game example, so this version is identical to the previous one, so don’t get too excited
I’ve made some progress with the coming feature update, though, and I just managed to add something really cool. The AI now takes cover into consideration when choosing which tile to attack from. They calculate their own hit chance from each possible tile in move range and checks the combined hit chances of all enemy units for that tile. It still requires tweaking, but it is so cool to see the AI make tactical decisions.
@Selentic: Hopefully that should do the trick. If you still encounter a lot of issues you can of course consider adding a dummy unit. This also involves quite a few changes to get working correctly, though. The central thing would be to have the unit in the initiative order, but not in the Pawn array and to always put the dummy unit at the end of the Initiative Order array when switching to another unit while the dummy unit is the current unit.