Function
Prox
Prox_MarkerSGroup
Returns the distance between a marker and a squad group. use checktype PROX_SHORTEST, PROX_LONGEST, or PROX_CENTER.
On this page
Prox_MarkerSGroup(marker, sgroup, 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
markerMarkerIDrequiredsgroupSGroupIDrequiredchecktypeProxTyperequired
Returns
RealSource
Declared in the game's script sources at:
scar/proximity.scar