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: