> For the complete documentation index, see [llms.txt](https://malbersanimations.gitbook.io/animal-controller/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://malbersanimations.gitbook.io/animal-controller/main-components/ai/animal-brain/tasks.md).

# Tasks

## Overview

Task are logics that will be executed Once an AI State starts. It can be simple tasks like changing the speed on the animal, playing a mode, changing the stance or more complex task like sending movement to the AI control to Patrol

## Common Properties

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lzhr1XSMzMqNXjRnNlb%2F-MZG7O5YS3SfPrDMHcFL%2F-MZG7mSjsgkT_v0wI_CQ%2Fimage.png?alt=media\&token=69db5faa-a38e-4539-81ce-8be55d90db50)

{% hint style="warning" %}
Not all common properties will appear on every task.
{% endhint %}

### Name

Name of the Task

### Description

Description to fill what the Task does.

### Message ID

ID to identify which is the task playing at the moment. This is the value the Brain Event OnTaskStarted will send.

### Wait For Previous Task

Does this task need to wait for the previous task in the list before activating?

### Update Interval

How often should this task be checked? Lower numbers = better accuracy but lower performance.&#x20;

## Default Tasks

## General

<figure><img src="https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2FBaOt51PgKKHHYvzkJQAI%2Fimage.png?alt=media&amp;token=488aa76a-0164-4c92-9ef1-88c7ee20c4cb" alt=""><figcaption><p>List of General Tasks as of 1.4.2</p></figcaption></figure>

### [Chance](/animal-controller/main-components/ai/animal-brain/tasks/general-chance.md)

### [Empty](/animal-controller/main-components/ai/animal-brain/tasks/general-empty.md)

### [Invoke Event](/animal-controller/main-components/ai/animal-brain/tasks/general-invoke-event.md)

### [Send Message](/animal-controller/main-components/ai/animal-brain/tasks/message.md)

### [Play Audio](/animal-controller/main-components/ai/animal-brain/tasks/general-play-audio.md)

### [Quick Align](/animal-controller/main-components/ai/animal-brain/tasks/general-quick-align.md)

### [Reaction](/animal-controller/main-components/ai/animal-brain/tasks/general-reaction.md)

### [Set Look-At Aim](/animal-controller/main-components/ai/animal-brain/tasks/set-look-at.md)

### [Set Stat](/animal-controller/main-components/ai/animal-brain/tasks/general-set-stat.md)

### [Wait](/animal-controller/main-components/ai/animal-brain/tasks/wait.md)

## Animal

<figure><img src="https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2FBtLykdYIWkpGyXirflQG%2Fimage.png?alt=media&amp;token=9557da9a-8926-4123-a264-9345ca3aba85" alt=""><figcaption><p>List of Animal Tasks as of 1.4.2</p></figcaption></figure>

### [Set Speed](/animal-controller/main-components/ai/animal-brain/tasks/change-speed.md)

### [Set Play Mode](/animal-controller/main-components/ai/animal-brain/tasks/play-state.md)

### [Set State](/animal-controller/main-components/ai/animal-brain/tasks/general-set-stat.md)

### [Set Stance](/animal-controller/main-components/ai/animal-brain/tasks/set-stance.md)

### [Set Strafe](/animal-controller/main-components/ai/animal-brain/tasks/animal-set-strafe.md)

## Movement

<figure><img src="https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2FhOdURMIMD4kK4mQfYMbD%2Fimage.png?alt=media&amp;token=b452fad2-47e1-4540-a34c-2f537f979d7e" alt=""><figcaption><p>List of Movement Tasks as of 1.4.2</p></figcaption></figure>

### [Movement-Stop](/animal-controller/main-components/ai/animal-brain/tasks/move-stop.md)

### [Patrol](/animal-controller/main-components/ai/animal-brain/tasks/patrol.md)

### [Set Destination](/animal-controller/main-components/ai/animal-brain/tasks/movement-set-destination.md)

### [Set Target](/animal-controller/main-components/ai/animal-brain/tasks/set-target.md)

## Variables

<figure><img src="https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2FtyNsDDzJsB9JWLYLNy5G%2Fimage.png?alt=media&amp;token=40c0633e-914f-432d-934d-100cdd7b0d1c" alt=""><figcaption><p>List of Variable Tasks as of 1.4.2</p></figcaption></figure>

### [Set Var Listener](/animal-controller/main-components/ai/animal-brain/tasks/set-var-listener.md)

## Weapons

<figure><img src="https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2FAp29Vx9T6v5LsvNX5Rfr%2Fimage.png?alt=media&amp;token=4be1b056-aecd-4d07-b8d5-ff054150a0c7" alt=""><figcaption></figcaption></figure>

### [Weapon Tasks](/animal-controller/main-components/ai/animal-brain/tasks/weapons-weapon-tasks.md)
