Creating an Aggressive AI

Note: It is recommended that users have fully setup an AI's Factions, Animation Profile, and other basic steps before proceeding.

Creating an Aggressive AI

Aggressive AI will attack detected targets they have an Enemy Relation Type with. If they are attacked by someone like a player who they have a Neutral Relation Type with, they will only attack said target if attacked first.

To set an AI's behavior, go to the AI's Behavior Component and expand the Behavior Settings foldout. Set the Current Behavior Type to Aggressive. This will opening up additional settings specifically for the aggressive behavior type.

Note: Adding a Target to Follow will turn the Aggressive AI into a Companion AI.

Once you have set your desired behavior settings, your AI should be able to attack any detected target that has a Relation Type of Enemy. If your AI is not detecting targets, ensure that its Cautious Seconds is set to 0 and that you have completed all steps within the Getting Started section of the Emerald AI Wiki.

Was this helpful?