Function; SobGroup_AssignedToGroup - HWRM/KarosGraveyard GitHub Wiki

SobGroup_AssignedToGroup(<sSobGroupName>, <iGroup>)

Description

Returns 1 if sSobGroupName is assigned to the specified control group, else 0.

Example

-- if ships in "my-group" are assigned to group 3, returns `1`, else `0`:
SobGroup_AssignedToGroup("my-group", 3);

Arguments

Param Type Description
sSobGroupName string The sobgroup to query.
iGroup number If any ship in sSobGroupName are within control group iGroup, return 1.

Related Pages

Function Reference

Comments

Page Status

Updated Formatting? Initial
Updated for HWRM? Initial

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