The Attack Manager component is the component that manages the attack behavior for attack entities.
When you’re creating a new map using the RTS Engine menu editor, this component is attached to an object called “AttackManager”.
- Enable Terrain Attack: Attack entities are able to launch attacks without having to specify a target (check the Require Target field of the Attack component) only if this field is enabled! If the faction entity launches an Attack Object for example as part of its attack, the player will have to specify the target position either by clicking on the “Attack Task” that appears on the task panel when the faction entity is selected and then with a left-mouse-click on the terrain.
- Terrain Attack Key: If terrain attack is enabled (above field), a key can be specified in this field to allow the player to make a terrain attack by pressing this key and right-mouse-clicking on the terrain.