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