Changes
Page history
Create Mobs/ai/goals/GoToParent
authored
Dec 31, 2024
by
Lxlp
Show whitespace changes
Inline
Side-by-side
Mobs/ai/goals/GoToParent.md
0 → 100644
View page @
a7d86864
## Description
Makes the mob move towards its
[
parent
](
/Skills/Targeters/Parent
)
when beyond a certain distance.
[
Followrange
](
/Mobs/Options#followrange
)
must be more than the distance between the owner and the mob)
## Attributes
| Attribute | Aliases | Description | Default |
|-----------|-----------|----------------------------------------------------------------------|---------|
| followrange | fr, r, maxrange | Distance after which the mob will start to follow the parent | 4 |
| minrange | mr | Distance in which the mob will stop following the parent | 4 |
| speed | s | Speed of the movement | 1.0 |
| droptarget | dt | Whether the current target should be dropped when the mob starts following the parent | true |
## Examples
```
yaml
AIGoalSelectors
:
-
clear
-
gotoparent{fr=10;mr=3}
```
\ No newline at end of file