value_to_distance
Sets the value to the distance between two points in the trigger.
Categories: location, value
Required arguments
| Key(s) | Description | Type |
|---|---|---|
from | The point in the trigger data to measure from. Choices: player, victim, location, block, projectile, dispatcher | STRING |
to | The point in the trigger data to measure to. Choices: player, victim, location, block, projectile, dispatcher | STRING |
Parameter transformers
adds
VALUE
Example
mutators:
- id: value_to_distance
args:
from: player|victim|location|block|projectile|dispatcher
to: player|victim|location|block|projectile|dispatcher