ScarDoc

Start typing to search the SCAR reference.

Function
Prox

Prox_SquadsInProximityOfSquads

Checks if ALL or ANY squads are in proximity of a given squad group.

On this page
Prox_SquadsInProximityOfSquads(sgroup1, sgroup2, proximity, all)

Description

Set \"all\" to true to check that ALL squads are in proximity, or set \"all\" to false to check for ANY.

Parameters

  • sgroup1SGroupIDrequired
  • sgroup2SGroupIDrequired
  • proximityRealrequired
  • allBooleanrequired

Returns

Boolean

Source

Declared in the game's script sources at:

scar/proximity.scar