Hello again.
I am having problems with dead units being referenced by the AI. The unit dies and is removed from map, but when the next Round starts the AI puts the Selected Icon (see photo) on where the unit died, and even moves it (the Selected Icon) around on the map until it gets to where it would attack, then the game freezes there. I think it usually starts happening when I get up to around 12 units in the game.
I see you delay actually removing a dead unit from game to let effects happen and stuff, but for some reason it is never actually be really deleted before the next round.
EDIT: I have narrowed it down to a second Ability I added. It does fine unless I kill the Unit with that ability, then the dead unit is still referenced by AI. At least I know where the issue is, so hopefully I can figure out what is going awry.
EDIT 2: Okay, found the issue. I was using your BP_Ability_Attack as my base to add a new attack ability. There is a problem in Execute Ability in that blueprint where if you have Use Unit Attributes unchecked, and change the value of the local variable Damage, the code is using 2 different Damage values because the code was written to get one of the Damage variables directly from the Owning Unit as shown in picture. So I removed getting Damage from owning unit and replaced with Get Damage and everything is golden.
[ATTACH=JSON]{“data-align”:“none”,“data-size”:“full”,“data-tempid”:“temp_155365_1547137079461_581”}[/ATTACH]
Thanks, Loco