# Remove Unit Group From All Waves

Grammar — Remove group|Unit Group from all waves
FlagsNative | Action

Removes a group of units from any waves they are in.

# Arguments

  • unitgroup — Group

Returns — void

native void AIRemoveGroupFromAnyWaves(unitgroup ug);

Category: AI / MiscCampaign / Actions

# Examples

# campaigns/void.sc2campaign

MapScript.galaxy

// L760
AIRemoveGroupFromAnyWaves(gv_purifierStasisChambers[lp_containmentTowerIndex].lv_warpathGroup)
// L782
AIRemoveGroupFromAnyWaves(gv_purifierStasisChambers[lp_containmentTowerIndex].lv_warpathGroup)
// L760
AIRemoveGroupFromAnyWaves(gv_purifierStasisChambers[lp_containmentTowerIndex].lv_warpathGroup)
// L782
AIRemoveGroupFromAnyWaves(gv_purifierStasisChambers[lp_containmentTowerIndex].lv_warpathGroup)