Covers

During the game, if an enemy finds suitable cover (close enough to yourself and the character), he will hide behind it.
  • To enable this feature on the enemy, mark the Use Covers checkbox in the AI Controller script.

How to create a cover:

  1. 1.
    Add the Cover script to your cover game object
  2. 2.
    Create several empty objects and place them around the cover - opponents will be located at these points
  3. 3.
    Set those points in the script