# Combat Component

{% hint style="info" %}
**Note:** Only AI with the Aggressive Behavior Type will use the Combat Component. It is included as a required component to maximize flexibility. AI who are using the Passive or Coward Behavior Types can ignore this component.
{% endhint %}

<figure><img src="/files/YiuUM7t81Aw5oAu17VA3" alt=""><figcaption></figcaption></figure>

## Using the Combat Component

The Combat Component controls all the settings for an AI while in combat. This includes how many weapon types are used, the Combat Actions that will used, and the Ability Objects that will be used. &#x20;

{% hint style="success" %}
Here are the available tutorials and guides for the Combat Component.
{% endhint %}

<table data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-cover data-type="files"></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td></td><td> Assigning Combat Actions</td><td></td><td><a href="/files/V5cjAQEyO9hQqgGF7NhH">/files/V5cjAQEyO9hQqgGF7NhH</a></td><td><a href="/pages/ROcSqxoB2ElCImLG3lHp">/pages/ROcSqxoB2ElCImLG3lHp</a></td></tr><tr><td></td><td>  Assigning Ability Objects</td><td></td><td><a href="/files/pGWFMXFk5Ya9qabLkpc4">/files/pGWFMXFk5Ya9qabLkpc4</a></td><td><a href="/pages/D1M0WfDG6K7G9wBBzMNr">/pages/D1M0WfDG6K7G9wBBzMNr</a></td></tr><tr><td></td><td><p>      Assigning Attack    </p><p>          Transforms</p></td><td></td><td><a href="/files/NpaaBT9R9Vv7BvFvll9P">/files/NpaaBT9R9Vv7BvFvll9P</a></td><td><a href="/pages/2U7gQvLE26vnA1VzE48E">/pages/2U7gQvLE26vnA1VzE48E</a></td></tr><tr><td></td><td>   Weapon Type Amounts</td><td></td><td><a href="/files/1sYJLMhYRvxJFYc9qDyx">/files/1sYJLMhYRvxJFYc9qDyx</a></td><td><a href="/pages/8bIf64CyF4INfByqDbEo">/pages/8bIf64CyF4INfByqDbEo</a></td></tr></tbody></table>


---

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