# Assigning Ability Objects

## Assigning Ability Objects

The first time you are setting up an AI's Combat Component, you will receive a warning message about an AI needing at least 1 attack. To fix this, you will need to add at least 1 Ability Object to an AI's Attack List.

{% hint style="warning" %}
**Important:** In order to assign abilities, you must have already setup an AI's Animation Profile and attack animations as the Attack List uses animations from Animation Profile.
{% endhint %}

There are 7 included ability categories and each category has several example abilities. If you haven't already created your own ability. It is recommended that you use the example abilities when getting started.&#x20;

Simply pressing + button to create a new attack element, select the attack animation you'd like the attack to use, assign an Ability Object (one of the demo abilities if you are just getting started), and adjust the Attack and Too Close Distances.

<figure><img src="/files/7SQdfHvXNkhrjyUppPNU" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://black-horizon-studios.gitbook.io/emerald-ai-wiki/emerald-components-required/combat-component/assigning-ability-objects.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
