ScarDoc

Start typing to search the SCAR reference.

Function
Team

Team_GetAllEntitiesNearMarker

Gather together all of a teams's entities that are in proximity to a marker, a position, or within a territory sector into an EGroup. The EGroup is cleared beforehand.

On this page
Team_GetAllEntitiesNearMarker(team, egroup, position, range)

Description

You can override a marker's normal proximity by specifying a range.

Parameters

  • teamTeamIDrequired
  • egroupEGroupIDrequired
  • positionMarkerID/Pos/SectorIDrequired
  • rangeRealoptional

Returns

Void

Source

Declared in the game's script sources at:

scar/team.scar