# Wave Target Escort

Grammar — Create a new wave target set to escort the unit group with replace behavior replaceType
FlagsNative | Function

Creates a new wave target set to escort the specified unit group. Returns the wave target.

# Arguments

  • unitgroup — UnitGroup
  • int<preset::ReplaceType> — ReplaceType

Returns — wavetarget

native wavetarget AIWaveTargetEscort(
	unitgroup g,
	int replaceType,
);

Category: AI Advanced / Waves / Functions

# Examples

— None found —