> 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/general-chance.md).

# General - Chance

Gives a % Chance to execute another task

<figure><img src="https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2F2iwHgMycUx2QKMiPHhdW%2Fimage.png?alt=media&amp;token=7b02d6bf-fa4d-46e3-9a03-50b776e3b95c" alt=""><figcaption></figcaption></figure>

### Parameters (Except for Common Parameters)

### Chance

Chance to execute another task. Is a float slider between 0-1. \
0.3 = 30%, 0.5 = 50% etc.

### Task

If chance is successful, play this task

### Task Failed

If chance is unsuccessful, play this task
