# Pause All Units In Unit Group

Grammarpause|Pause/Unpause all units in unit group g
FlagsNative | Action

Pauses or unpauses all units in unit group.

# Arguments

Returns — void

native void UnitGroupPauseAll(
	unitgroup inGroup,
	bool inPause,
);

Category: Unit Group / Groups

# Examples

# campaigns/void.sc2campaign

MapScript.galaxy

// L1500
UnitGroupPauseAll(gv_performanceUnitsNW, true)
// L1501
UnitGroupPauseAll(gv_performanceUnitsSE, true)
// L1502
UnitGroupPauseAll(gv_performanceUnitsSW, true)
// L1529
UnitGroupPauseAll(gv_performanceUnitsSE, false)
// L1558
UnitGroupPauseAll(gv_performanceUnitsNW, false)
// L1587
UnitGroupPauseAll(gv_performanceUnitsSW, false)
// L1630
UnitGroupPauseAll(gv_performanceUnitsSE, false)
// L1631
UnitGroupPauseAll(gv_performanceUnitsNW, false)
// L1632
UnitGroupPauseAll(gv_performanceUnitsSW, false)
// L2325
UnitGroupPauseAll(gv_performanceUnitsBonus[lv_indexGroup], true)
// L2329
UnitGroupPauseAll(gv_performanceUnitsMid[lv_indexGroup], true)
// L2333
UnitGroupPauseAll(gv_performanceUnitsExpo[lv_indexGroup], true)
// L2361
UnitGroupPauseAll(gv_performanceUnitsBonus[1], false)
// L2390
UnitGroupPauseAll(gv_performanceUnitsBonus[2], false)
// L2419
UnitGroupPauseAll(gv_performanceUnitsBonus[3], false)
// L2448
UnitGroupPauseAll(gv_performanceUnitsBonus[4], false)
// L2477
UnitGroupPauseAll(gv_performanceUnitsMid[1], false)
// L2506
UnitGroupPauseAll(gv_performanceUnitsMid[2], false)
// L2535
UnitGroupPauseAll(gv_performanceUnitsMid[3], false)
// L1500
UnitGroupPauseAll(gv_performanceUnitsNW, true)
// L1501
UnitGroupPauseAll(gv_performanceUnitsSE, true)
// L1502
UnitGroupPauseAll(gv_performanceUnitsSW, true)
// L1529
UnitGroupPauseAll(gv_performanceUnitsSE, false)
// L1558
UnitGroupPauseAll(gv_performanceUnitsNW, false)
// L1587
UnitGroupPauseAll(gv_performanceUnitsSW, false)
// L1630
UnitGroupPauseAll(gv_performanceUnitsSE, false)
// L1631
UnitGroupPauseAll(gv_performanceUnitsNW, false)
// L1632
UnitGroupPauseAll(gv_performanceUnitsSW, false)
// L2325
UnitGroupPauseAll(gv_performanceUnitsBonus[lv_indexGroup], true)
// L2329
UnitGroupPauseAll(gv_performanceUnitsMid[lv_indexGroup], true)
// L2333
UnitGroupPauseAll(gv_performanceUnitsExpo[lv_indexGroup], true)
// L2361
UnitGroupPauseAll(gv_performanceUnitsBonus[1], false)
// L2390
UnitGroupPauseAll(gv_performanceUnitsBonus[2], false)
// L2419
UnitGroupPauseAll(gv_performanceUnitsBonus[3], false)
// L2448
UnitGroupPauseAll(gv_performanceUnitsBonus[4], false)
// L2477
UnitGroupPauseAll(gv_performanceUnitsMid[1], false)
// L2506
UnitGroupPauseAll(gv_performanceUnitsMid[2], false)
// L2535
UnitGroupPauseAll(gv_performanceUnitsMid[3], false)
// L1969
UnitGroupPauseAll(gv_gearSwapPausedUnits, true)
// L2007
UnitGroupPauseAll(gv_gearSwapPausedUnits, false)
// L1969
UnitGroupPauseAll(gv_gearSwapPausedUnits, true)
// L2007
UnitGroupPauseAll(gv_gearSwapPausedUnits, false)