Changes
Page history
Create Skills/conditions/DistanceFromLocation
authored
May 31, 2024
by
Lxlp
Show whitespace changes
Inline
Side-by-side
Skills/conditions/DistanceFromLocation.md
0 → 100644
View page @
045f05b8
## Description
Checks if the target is within a certain distance of a specified location
## Attributes
| Attribute | Aliases | Description | Default |
|-----------|-----------|----------------------------------------------------------------------|---------|
| x | | The x component of the location | 0 |
| y | | The y component of the location | 0 |
| z | | The z component of the location | 0 |
| world | w | The world of the location. Defaults to the world of the target | |
| distance | d | The distance from the specified location to check against | |
## Examples
```
yaml
TargetConditions
:
-
distanceFromLocation{x=10;y=20;z=30;distance=<20}
true
```
\ No newline at end of file