Changes
Page history
Revert "added ClearTarget mechanic"
authored
Oct 02, 2025
by
Lxlp
This reverts commit 1f8283a3389908f340de3fcb5bc030ebbd4ae456.
Hide whitespace changes
Inline
Side-by-side
skills/mechanics/runaitargetselector.md
0 → 100644
View page @
38502e7a
## Description
Change target 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 runaitargetselector and add the goals
you need. Unlike the mob configuration, if you use the
runaitargetselector skill, you can only use one pathfindergoal in the
mechanic. But aslong as you dont use clear, the pathfindergoal is added
to the end of the already existing goals of the entity.
A list of available targets can be found
[
here
](
/Mobs/Custom-AI#ai-target-selectors
)
> **This is a no-target mechanic, and the affected entity will always be the caster**
## Attributes
| Attribute | Aliases | Description | Default |
|-----------|-----------|----------------------------------------------------------------------|---------|
| target | aitargetselector, s, string, targetselector, goal, g | The target selector you want to append | |
## Examples
```
yaml
TargetPossibleThreats
:
Skills
:
-
runaitargetselector{target=clear}
-
runaitargetselector{target=players}
-
runaitargetselector{target=monsters}
```
## Aliases
-
[x] aitarget
<!--TAGS-->
<!--tag:AI-->
\ No newline at end of file