Skip to content
Contractsv1.7.0

Attack Distance

⭐ Premium

Progress counts only when the distance from the player to the target, in meters, is within the specified bounds.

{
"type": "AttackDistance",
"minDistance": 100,
"maxDistance": -1
}
FieldTypeDescription
typestringExactly 'AttackDistance'
minDistancenumberMinimum attack distance in meters. Inclusive. -1 disables this bound.
maxDistancenumberMaximum attack distance in meters. Inclusive. -1 disables this bound.
  • Both bounds are inclusive, measured player-to-target in meters.
  • -1 disables a bound, so you can set only a minimum (long-range kills) or only a maximum (close-quarters), or both for a band.
  • If both bounds are set, minDistance must not exceed maxDistance.