Function; CPU_AddSobGroup - HWRM/KarosGraveyard GitHub Wiki

CPU_AddSobGroup(<iPlayerIndex>, <sSobGroupName>)

Description

Sets or restores AI control over a sobgroup (e.g., after AI control was removed from the sobgroup using the CPU_RemoveSobGroup function).

Example

CPU_AddSobGroup(1, "Vgr_AI_Carrier_Load_2")

Arguments

<iPlayerIndex>: the index number of the CPU player.
<sSobGroupName>: the name of the sobgroup.

Related Pages

Function Reference

CPU_RemoveSobGroup

Comments

Page Status

Updated Formatting? Initial
Updated for HWRM? Initial