Function; SobGroup_AttackPlayer - HWRM/KarosGraveyard GitHub Wiki

SobGroup_AttackPlayer(<sSobGroupName>, <iPlayerIndex>)

Description

Makes <sSobGroupName> attack Player <iPlayerIndex>.

Example

--- Makes all ships in `"my-group"` attack any ships belonging to player `0`:
SobGroup_AttackPlayer("my-group", 0);

Arguments

<sSobGroupName>: the sobgroup to issue the order to.
<iPlayerIndex>: the player that <sSobGroupName> should attack.

Related Pages

Function Reference

Comments

Page Status

Updated Formatting? Initial
Updated for HWRM? Initial