Function; SobGroup_SetSwitchOwnerFlag - HWRM/KarosGraveyard GitHub Wiki

SobGroup_SetSwitchOwnerFlag(<sSobGroupName>, <bEnable>)

Description

Makes all ships in <sSobGroupName> remain in the sobgroup even after ownership has changed.
Note: seems a necessary function to assess whether a sobGroup is captured later on. -SunTzu

Example

SobGroup_SetSwitchOwnerFlag("Shipyard", 0)

Arguments

<sSobGroupName>: the name of the sobGroup.
<bEnable>: 0 to disable (e.g., the ship remains in the same group after its ownership has changed); 1 to enable

Scope

Related Pages

Function Reference

SCAR (SCripting at Relic) Reference

Comments

Page Status

Updated Formatting? Initial
Updated for HWRM? Initial

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