|
## Description
|
|
## Description
|
|
Tests if the target is **not** within the given angle from where the caster is looking.
|
|
Tests if the target is within the given angle from where the caster is looking.
|
|
|
|
|
|
|
|
|
|
## Attributes
|
|
## Attributes
|
|
|
|
|
|
| Attribute | Aliases | Description | Default |
|
|
| Attribute | Aliases | Description | Default |
|
|
|-----------|-----------|----------------------------------------------------------------------|---------|
|
|
|-----------|-----------|----------------------------------------------------------------------|---------|
|
|
| angle | a | The angle of the FOV to check in | 90 |
|
|
| angle | a | The angle of the FOV to check in | 90 |
|
... | @@ -13,14 +12,14 @@ Tests if the target is **not** within the given angle from where the caster is l |
... | @@ -13,14 +12,14 @@ Tests if the target is **not** within the given angle from where the caster is l |
|
## Examples
|
|
## Examples
|
|
```yaml
|
|
```yaml
|
|
TargetConditions:
|
|
TargetConditions:
|
|
- fieldofview{angle=90} true
|
|
- fieldofview{angle=90} false
|
|
```
|
|
```
|
|
This condition will filter out every target that is within a 90 degree field of view of the caster.
|
|
This condition will filter out every target that is within a 90 degree field of view of the caster.
|
|
|
|
|
|
##
|
|
##
|
|
```yaml
|
|
```yaml
|
|
TargetConditions:
|
|
TargetConditions:
|
|
- fieldofview{angle=90} false
|
|
- fieldofview{angle=90} true
|
|
```
|
|
```
|
|
This condition will allow to be targeted only entities that are within a 90 degree field of view of the caster.
|
|
This condition will allow to be targeted only entities that are within a 90 degree field of view of the caster.
|
|
|
|
|
... | | ... | |