Target points and AI

Question there’s this game I am playing that has AI that after the build there base or put down a fire they will walk to the lake and do fishing animation and also catch fish if player shoots and kills ai the fish will be in dropped backpack how would this be setup want to learn on my own but not sure where to look and what I should be looking for?