ScarDoc

Start typing to search the SCAR reference.

Function
Prox

Prox_MarkerEGroup

Returns the distance between a marker and an entity group. use checktype PROX_SHORTEST, PROX_LONGEST, or PROX_CENTER.

On this page
Prox_MarkerEGroup(marker, egroup, checktype)

Description

If check is PROX_SHORTEST this will return the shortest distance between the two groups. If check is PROX_LONGEST this will return the longest distance between the two groups. If check is PROX_CENTER this will return the distance between the two groups centers.

Parameters

  • markerMarkerIDrequired
  • egroupEGroupIDrequired
  • checktypeProxTyperequired

Returns

Real

Source

Declared in the game's script sources at:

scar/proximity.scar