Function; SobGroup_SwitchOwner - HWRM/KarosGraveyard GitHub Wiki
SobGroup_SwitchOwner(<sSobGroupName>, <iPlayerIndex>)
Description
Switches ownership of <sSobGroupName> to <iPlayerIndex>.
Note: The ships in <sSobGroupName> are removed from <sSobGroupName> unless this effect is disabled with SobGroup_SetSwitchOwnerFlag.
Example
SobGroup_SwitchOwner( "Dreadnaught", 3)
Arguments
<sSobGroupName>: the name of the sobgroup.
<iPlayerIndex>: a player index number.
Scope
Related Pages
SCAR (SCripting at Relic) Reference
Comments
The note above does not use a complete senetence. What are you trying to say?
--Mikali (2007-01-10 01:38:12)
looks to me that the sobgroup is emptied after ownership changes unless you use that other function
--GreyGhost (2007-08-21 00:47:02)
Page Status
Updated Formatting? Initial
Updated for HWRM? Initial