Function
SGroup
SGroup_GetClosestSquad
Get the closest squad in an sgroup to a given position
On this page
SGroup_GetClosestSquad(sgroupid, position)Description
Get the closest squad in an sgroup to a given position
Parameters
sgroupidSGrouprequiredpositionMarker/Posrequired
Returns
SquadIDSource
Declared in the game's script sources at:
scar/groups.scar