RTS AI Enemy Player

So im really bad at unreal, and i wanted to try to make a rts game, and there is a problem, i would like to make a enemy player that could build, move units, attack, and i didnt see any tutorials or question about it, how could i make such thing ?