ScarDoc

Start typing to search the SCAR reference.

Function
Player

Player_GetAllSquadsNearMarker

Gather together all of a player'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
Player_GetAllSquadsNearMarker(player, sgroup, position, range)

Description

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

Parameters

  • playerPlayerIDrequired
  • sgroupSGroupIDrequired
  • positionMarkerID/Pos/SectorIDrequired
  • rangeRealoptional

Returns

Void

Source

Declared in the game's script sources at:

scar/player.scar