How to animate a battlefield?

Hello everyone, I am a novice when it comes to animation. I know some basics based on reading and video tutorials but I have never actually animated anything. However I am trying to conceptualize some ideas for a game I would like to make. It would involve animating a battlefield. Pitching one group of soldiers against the others and have them fight each other convincingly in real time. How would one go about doing this in an efficient way?

Normally when animating for a game you wouldn’t animate a scene like that as a whole. Instead you would animate the individual soldiers so they can walk around and then use your game logic (usually player input, AI or a scripted sequence) to move the individual soldiers.

This involves quite a few different systems, so it might be good to first read up on general animation workflows and then ask more specific questions when you get stuck on a certain aspect.