Changes
Page history
reverted dante
authored
Oct 23, 2023
by
Lxlp
Show whitespace changes
Inline
Side-by-side
skills/mechanics/runaigoalselector.md
View page @
ec583640
===========================
## Description:
## Description
Change pathfindergoals. It is not possible to use every goal on every
entity. To change the ai of an entity, you need to use clear first.
After that you can use the runaigoalselector and add the goals you need.
...
...
@@ -13,8 +10,14 @@ existing goals of the entity.
A list of AI Goals can be found
[
here
](
/Mobs/Custom-AI#ai-goal-selectors
)
## Examples:
## Attributes
| Attribute | Aliases | Description | Default |
|-----------|-----------|----------------------------------------------------------------------|---------|
| goal | | The ai goal selector you want to append | |
## Examples
```
yaml
TimeToFlee
:
ChangePatchfinderGoalExample
:
...
...
@@ -24,5 +27,5 @@ TimeToFlee:
-
runaigoalselector{goal=randomstroll}
```
## Aliases:
[x] aigoal
\ No newline at end of file
## Aliases
-
[x] aigoal
\ No newline at end of file