How are orders issued to your own troops?

Users who are viewing this thread

AshenWaltz

Recruit
Hello everyone, I already know how the enemy AI fights against the player, it uses the classes Tactics which give Behaviors to each formation. What I need to learn is how the player gives orders to their owns troops. Using the default controls, when I press "1" it selects infantry and when I press "F2" it gives the infantry formation the order to follow the player. i need to know what happens in the background in terms of code and where I can find this logic so I can order my troops directly using my own code.
Thank you in advance.
 
Back
Top Bottom