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
playerPlayerIDrequiredsgroupSGroupIDrequiredpositionMarkerID/Pos/SectorIDrequiredrangeRealoptional
Returns
VoidSource
Declared in the game's script sources at:
scar/player.scar