Stats_SquadronsActive(<iPlayerIndex>, <iShipTypeNumber>)
Description
Returns the number of squadrons of type <iShipTypeNumber> currently owned by player <iPlayerIndex>.
Example
Stats_SquadronsActive(0, GetShipId("hgn_interceptor"))
Arguments
<iPlayerIndex>: the index number of the player.
<iShipTypeNumber>: the index number of the ship type. It can be returned with
GetShipId
Scope
Related Pages: