# AIWaveTargetGetUnitGroup
Flags —
Native
# Arguments
wavetarget
— wt
Returns — unitgroup
native unitgroup AIWaveTargetGetUnitGroup(wavetarget wt);
# Related
Category: Unclassified
# Examples
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/Tactical/TactTerrAI.galaxy:1440
unitWaveTarget = AIWaveGetTarget(unitWave);
waveEscortGroup = AIWaveTargetGetUnitGroup(unitWaveTarget);
waveEscortUnit = AIWaveTargetGetUnit(unitWaveTarget);
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/Tactical/TactTerrAI.galaxy:1487
unitWaveTarget = AIWaveGetTarget(unitWave);
waveEscortGroup = AIWaveTargetGetUnitGroup(unitWaveTarget);
waveEscortUnit = AIWaveTargetGetUnit(unitWaveTarget);
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/Tactical/TactTerrAI.galaxy:1632
unitWaveTarget = AIWaveGetTarget(unitWave);
waveEscortGroup = AIWaveTargetGetUnitGroup(unitWaveTarget);
waveEscortUnit = AIWaveTargetGetUnit(unitWaveTarget);
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/Tactical/TactTerrAI.galaxy:1697
unitWaveTarget = AIWaveGetTarget(unitWave);
waveEscortGroup = AIWaveTargetGetUnitGroup(unitWaveTarget);
waveEscortUnit = AIWaveTargetGetUnit(unitWaveTarget);
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/Tactical/TactTerrAI.galaxy:1807
unitWaveTarget = AIWaveGetTarget(unitWave);
waveEscortGroup = AIWaveTargetGetUnitGroup(unitWaveTarget);
waveEscortUnit = AIWaveTargetGetUnit(unitWaveTarget);
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/Tactical/TactTerrAI.galaxy:1836
unitWaveTarget = AIWaveGetTarget(unitWave);
waveEscortGroup = AIWaveTargetGetUnitGroup(unitWaveTarget);
waveEscortUnit = AIWaveTargetGetUnit(unitWaveTarget);
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/Tactical/TactZergAI.galaxy:1560
unitWaveTarget = AIWaveGetTarget(unitWave);
waveEscortGroup = AIWaveTargetGetUnitGroup(unitWaveTarget);
waveEscortUnit = AIWaveTargetGetUnit(unitWaveTarget);
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/Tactical/TactZergAI.galaxy:1605
unitWaveTarget = AIWaveGetTarget(unitWave);
waveEscortGroup = AIWaveTargetGetUnitGroup(unitWaveTarget);
waveEscortUnit = AIWaveTargetGetUnit(unitWaveTarget);
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/Tactical/TactZergAI.galaxy:1640
unitWaveTarget = AIWaveGetTarget(unitWave);
waveEscortGroup = AIWaveTargetGetUnitGroup(unitWaveTarget);
waveEscortUnit = AIWaveTargetGetUnit(unitWaveTarget);