Part 2: The Combat Units
In this second part of the book, you will learn everything that is needed to create combat units in RTS games, starting with how to create configurable unit characters, with different types, and how to spawn them on the map.
Then, you will learn how to select the spawned units on the map and give them commands to perform actions, such as moving to a position or attacking an enemy, as well as how to implement close combat and ranged attacks.
Finally, you will see how we can use the Pathfinder algorithm in the Unity Engine to help our units always find the best path to move around the map, avoiding other units and GameObjects.
This part includes the following chapters: