Function; Stats_SquadronsActive - HWRM/KarosGraveyard GitHub Wiki

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

GameType

Related Pages

Function Reference

SCAR (SCripting at Relic) Reference

Comments

Page Status

Updated Formatting? Initial
Updated for HWRM? Initial