# Creating a Cautious AI

{% hint style="info" %}
**Note:** It is recommended that users have fully setup an AI's Factions, Animation Profile, and other basic steps before proceeding.
{% endhint %}

## Creating a Cautious AI

Cautious AI work the same as [Aggressive AI](/emerald-ai-wiki/emerald-components-required/behaviors-component/creating-an-aggressive-ai.md) or [Coward AI](/emerald-ai-wiki/emerald-components-required/behaviors-component/creating-a-coward-ai.md). However, they will be put into a cautious state prior to reacting to detected targets according to their set Behavior Type. The cautious state allows an AI to look at and rotate towards the most recently detected target and even play a warning animation.

To make an AI cautious, you just have to set its Cautious Seconds to a value greater than 0. An AI will be in a cautious state for the duration of the Cautious Seconds. Once the cautious state has finished, an AI will react to the detected target according to their Current Behavior Type. Aggressive and Coward are the behaviors supported for this feature.

{% hint style="info" %}
**Note:** Be aware that AI who are in a cautious state will not react to a detected target until after the duration of their Cautious Seconds (unless they're attacked).
{% endhint %}

<figure><img src="/files/0jbnOJsayLSBOwBICkO5" 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/behaviors-component/creating-a-cautious-ai.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.
