Function; SobGroup_FillProximitySobGroup - HWRM/KarosGraveyard GitHub Wiki
SobGroup_FillProximitySobGroup(<sSobGroupOut>, <sSobGroupName>, <sSobGroupProximityOf>, <fRadius>)
Fills <sSobGroupOut> with all ships in <sSobGroupName> that are within a distance of <fRadius> from <sSobGroupProximityOf>.
Returns true if any ships fall within this radius.
Note: the average position of ships in <sSobGroupProximityOf> is used when calculating distances.
Note: if <sSobGroupProximityOf> is part of <sSobGroupName>, it will be put in <sSobGroupOut>.
Note: docked ships are put in <sSobGroupOut> if their carrier is within radius.
Note: <sSobGroupOut> must already have been created before this function may be called.
SobGroup_FillProximitySobGroup("TempSob", "Universe_TeamShips1", "AttackerSob2", 3000)
<sSobGroupOut>: the sobgroup that ships will be added to.
<sSobGroupName>: the sobgroup that ships will be taken from.
<sSobGroupProximityOf>: the sobgroup that ships must be within a radius of.
<fRadius>: the distance that ships must be from <sSobGroupProximityOf>.
Updated Formatting? Initial
Updated for HWRM? Initial