ConditionEntity
directionalvelocity
If the target has a velocity matching the given parameters
Aliases
dvelocity
Configuration Fields (7)
| Name | Type | Default | Description |
|---|---|---|---|
| x x | RangedDouble | — | The X velocity |
| absx absx | boolean | false | Use the absolute value of the X velocity |
| y y | RangedDouble | — | The Y velocity |
| absy absy | boolean | false | Use the absolute value of the Y velocity |
| z z | RangedDouble | — | The Z velocity |
| absz absz | boolean | false | Use the absolute value of the Z velocity |
| relative rel | boolean | false | If true, X is forward/backward and Z is side-to-side |
Examples & Notes
Examples
In this example, we check if the players y velocity is under an absolute value of 5.
Conditions:
- directionalVelocity{y=<0;absx=true} true
Universal Condition Options
- Author:
- Ashijin
