Changes
Page history
Create Skills/Mechanics/FormLine
authored
Oct 12, 2024
by
Lxlp
Show whitespace changes
Inline
Side-by-side
Skills/Mechanics/FormLine.md
0 → 100644
View page @
8a5624e6
## Description
Makes the casting mob follow a linear path to a location
## 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 have "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 | |
> This mechanic inherits every attribute of the [Aura](/Skills/Mechanics/Aura) mechanic
## Examples
```
yaml
Skills
:
-
formline{
speed=2;
tolerance=2;
path=(200,5,520),(200,5,500),@forward{a=5};
onGoal=[
- message{m="I DID IT"} @world
]} @self ~onInteract
```
## Aliases
-
[x] lineup
\ No newline at end of file