Skip to content

Function; Stats_SquadronsActive

Cloaked edited this page Jun 10, 2020 · 1 revision

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

Clone this wiki locally