SobGroup_FillShipsByType(<sSobGroupToFillName>, <sSobGroupName>, <sShipTypeName>)
Description
Fills <sSobGroupToFillName> with all ships of type <sShipTypeName> from <sSobGroupName>. Inactive ships (e.g., ships that are docked or in hyperspace) are taken into account by the function.
Note: inactive ships are not considered if "Player_Ships" is used, because it contains only active ships. -SunTzu
Example
SobGroup_FillShipsByType( "tempSobGroup", "Attackers", "Hgn_Interceptor" )
Arguments
<sSobGroupToFillName>: name of the sobGroup in which ships will be returned.
<sSobgroupName>: name of the sobGroup whose ships are considered.
<sShipTypeName>: type of the ships to be returned.
Related Pages: