ScarDoc

Start typing to search the SCAR reference.

Function
Prox

Prox_EntitiesInProximityOfEntities

Checks if ALL or ANY entities are in proximity of a given entity group.

On this page
Prox_EntitiesInProximityOfEntities(egroup1, egroup2, proximity, all)

Description

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

Parameters

  • egroup1EGroupIDrequired
  • egroup2EGroupIDrequired
  • proximityRealrequired
  • allBooleanrequired

Returns

Boolean

Source

Declared in the game's script sources at:

scar/proximity.scar