If I understand correctly it works correctly in the first map, but not in the second? That is a bit strange. Things are otherways set up the same way? Note that the swordman unit in the HoMM map is a child actor of BP_Unit_Anim_HoMM, so it could potentially have different values on the ones you have added. Try printing the values of your bAbleToDoRangedAttack variable and the other variables in the DefaultAttackHoMM function to see if they have the values they expect. If that doesn’t give you the info you need, try using breakpoints and see where the two maps differ in execution.