Unity RTS Engine

  1. Home
  2. Unity RTS Engine
  3. Attack Behavior
  4. Attack Manager

Attack Manager

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”.

    1. 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.
    2. 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.

How can we help?