Covers
Last updated
Last updated
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.
Add the Cover script to your cover game object
Create several empty objects and place them around the cover - opponents will be located at these points
Set those points in the script