Sorry didn’t mean to sound so harsh and didn’t realise you were so new to the forums . All I meant is that if you had google searches for answers to you’re question first you would have found there are tons of already answered questions on both this forums he answerhub the wiki etc which you could have used meaning no need to post . Anyway regardless like suggested here there are multiple ways to do what you need to do . So try every method you can find and like I said see what works for you . This will help you to get better and understand things better .
As the character is going to be semi autonomous (attack automatically , move on click rather than input ) I think personally like the other user suggested you should use ai and blackboards but for the simplest way to do it you can use simple move to node to move character and then check distance between player and enemy unit of its within range then commence attacking .
Whenever I’m trying to do something new for the first time I break it down into steps . So first how do I make character move ?? Google all possible answered experiment one best way to make character move. Next how do I make character stop at right location within range of enemy ?? Google all answers try everything find what works best . Next how do I make character attack automatically ?? Google answer try all different methods find what works best ? Next how do I add damage when player attacks ?? Google etc etc break everything down into tiny jigsaw pieces and then slowly bit by bit put it all back together that is essentially how to program
Just experiment it will make you better in the long run. welcome to the forums :-p