Function
Prox
Prox_AreSquadsNearMarker
Returns true if ANY or ALL squads from a group are in range of a given position, marker, or territory sector
On this page
Prox_AreSquadsNearMarker(sgroup, position, all, range)Description
You MUST specify a range if you are using a position rather than a marker. Markers with proximity type rectangle will use circular proximity check if custom range is supplied
Parameters
sgroupSGroupIDrequiredpositionMarkerID/Position/SectorIDrequiredallBooleanrequiredrangeRealoptional
Returns
BooleanSource
Declared in the game's script sources at:
scar/proximity.scar