ScarDoc

Start typing to search the SCAR reference.

Function
Team

Team_GetAllSquadsNearMarker

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

On this page
Team_GetAllSquadsNearMarker(team, sgroup, position, range)

Description

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

Parameters

  • teamTeamIDrequired
  • sgroupSGroupIDrequired
  • positionMarkerID/Pos/SectorIDrequired
  • rangeRealoptional

Returns

Void

Source

Declared in the game's script sources at:

scar/team.scar