# Wait Until Unit Group Becomes Idle

Grammar — Wait until at least count units in group idle|Become/Stop Being idle
FlagsNative | Action

Waits until all the units in a unit group either becomes idle or discontinues being idle, depending on the Idle parameter.

# Arguments

  • unitgroup — Unit Group
  • int — Count
  • bool<preset::IdleState> — Idle

Returns — void

native void UnitGroupWaitUntilIdle(
	unitgroup inGroup,
	int inCount,
	bool inIdle,
);

Category: Unit / Orders

# Examples

— None found —