Function; SobGroup_GetSquadronsInsideDustCloud - HWRM/KarosGraveyard GitHub Wiki
SobGroup_GetSquadronsInsideDustCloud(<sSobGroupOutName>, <sDustCloudName>, <iPlayerIndex>)
Description
Fills <sSobGroupName> with the ships of <iPlayerIndex> that are inside <sDustCloudName>.
Returns true if any squadrons from <sSobGroupName> are inside <sDustCloudName>.
Note: <sSobGroupName> is not cleared automatically each time the function is called.
Note: SunTzu wasn't able to get the function to return a boolean value.
Example
Arguments
<sSobGroupName>: the name of the sobgroup.
<sDustCloudName>: the name of the dust cloud.
<iPlayerIndex>: the index number of the player.
Related Pages
Comments
It seems that the function rather fills <sSobGroupName> with the ships of <iPlayerIndex> that are inside <sDustCloudName> - SunTzu
--ASt-Lambert-153-1-19-238.w81-249.abo.wanadoo.fr (2005-09-27 17:55:46)
I think it does both. Updated.
--Mikali (2005-10-08 10:00:25)
Nevermind, it can't do both.
--Mikali (2005-10-08 10:03:24)
I've tested it again: 1) I couldn't get a boolean 2) it fills a sobgroup with colliding ships but fails to empty it each time it is executed (!) 3) in conclusion, this function is not scripter-friendly ;D. Unless you tested it with different results, I'll update the page with this info.
--SunTzu (2005-12-26 14:56:05)
Can't edit this page for some reason :(.
--Mikali (2006-04-23 01:58:40)
Problem is fixed :)
--Thought (2006-04-23 23:19:45)
Thanks :)
--Mikali (2006-04-23 23:35:20)
Page Status
Updated Formatting? Initial
Updated for HWRM? Initial