Function; SobGroup_CountByPlayer - HWRM/KarosGraveyard GitHub Wiki

SobGroup_CountByPlayer(<sSobGroupName>, <iPlayerIndex>)

Description

Returns the number of ships within <sSobGroupName> that are owned by player <iPlayerIndex>. Both active and inactive (docked or in hyperspace) ships are counted.

Example

i = SobGroup_CountByPlayer("sg_Temp", 0)

Arguments

<sSobGroupName>: the name of the sobgroup whose contents are checked
<iPlayerIndex>: the index number of a player

Related Pages

Function Reference

Comments

Page Status

Updated Formatting? Initial
Updated for HWRM? Initial