Function; Player_GetNumberOfSquadronsOfTypeAwakeOrSleeping - HWRM/KarosGraveyard GitHub Wiki

Player_GetNumberOfSquadronsOfTypeAwakeOrSleeping(<iPlayerIndex>, <sShipType>)

Description

Returns the total number of squadrons belonging to <iPlayerIndex> that contain ships of type <sShipType>. Counts both awake and sleeping squadrons.

Example

Player_GetNumberOfSquadronsOfTypeAwakeOrSleeping(0, "Hgn_AttackBomber")

Arguments

<iPlayerIndex>: the index number of the player.
<sShipType>: the type of ship.

Scope

Related Pages

Function Reference

SCAR (SCripting at Relic) Reference

Comments

Page Status

Updated Formatting? Initial
Updated for HWRM? Initial

⚠️ **GitHub.com Fallback** ⚠️