Follow Path
Description
Crates an aura that causes the holding mob to follow a path.
This mechanic is also an aura.
Attributes
| Attribute | Aliases | Description | Default |
|---|---|---|---|
| path | p | A list of either coordinates in the format (x,y,z) or targeters |
|
| onGoalSkill | onGoal, og, then | The metaskill to execute when the last point is reached | |
| tolerance | The minimum distance the mob must be from each point in order to having "reached" it | 2 | |
| speed | s | The speed multiplier of the movement | 1 |
| duration | ticks, t, d, time, t | The maximum duration of the mechanic. Unless set, it's the maximum possible value for an integer | |
| timeoutdistance | td, maxdistance, md | If set, if the distance between the mob and the next point is greater than this value, it will be immediately teleported to the next point | |
| timeouttime | tt | If set, if the mob has not reached the next point in less than this allotted time, it will be teleported to the next point |
This mechanic inherits every attribute of the Aura mechanic
- The
auranameattribute is set at#pathing- The
durationattribute is defaulted at2147483647- The
chargesattribute is set at1- The
maxStacksattribute is set at1- The
mergeAllattribute is set attrue
Examples
Skills:
- followPath{
speed=2;
tolerance=2;
path=(200,5,520),(200,5,500),@forward{a=5};
onGoal=[
- message{m="I DID IT"} @world
]} @self ~onInteract
Aliases
- path