UserFunction; addSOBGroup - HWRM/KarosGraveyard GitHub Wiki
addSOBGroup(<sSobName>, <sShipName1>, <sShipName2>, ... , <sShipNameN>)
Creates the named sobgroup and adds the listed ships to it.
A shortcut for the createSOBGroup and addToSOBGroup functions. Uses the same syntax as the addPath function.
addSOBGroup("MyNewSOBGroup", "MyScout1", "MyScout2", "MyScout3", "MyScout4")
<sSobName>: the name of the sobgroup to create and add ships to.
<sShipName1> to <sShipNameN>: the names of the ships to add to <sSobName>.
function addSOBGroup(sSobName, ...)
createSOBGroup(sSobName)
for i, iCount in arg do
addToSOBGroup(iCount, sSobName)
end
end
Nice and useful.
--SunTzu (2006-05-19 04:22:59)
Updated Formatting? Initial
Updated for HWRM? Initial