# AIWaveTargetGatherDPoint
Flags —
Native
# Arguments
int
— playerint
— town
Returns — point
native point AIWaveTargetGatherDPoint(
int player,
int town,
);
# Related
Category: Unclassified
# Examples
mods/core.sc2mod — base.sc2data/TriggerLibs/BaseAI.galaxy:166
AISetAllStates(player, 1);
targDPoint = AIWaveTargetGatherDPoint(player, c_townMain);
targOPoint = AIWaveTargetGatherOPoint(player, c_townMain);
targD = AIWaveTargetGatherD(player, c_townMain);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Zerg/Zerg.galaxy:118
}
else {
w = AIWaveCreate(AIWaveInfoCreate(), player, AIWaveTargetGatherDPoint(player, c_townMain));
AIWaveSetType(w, c_waveStateGuardHome, AIWaveTargetGuardHomeUnit(drop));
AIWaveAddUnitPriority(w, u, c_prioWavePeon);
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/BaseAI.galaxy:201
AISetAllStates(player, 1);
targDPoint = AIWaveTargetGatherDPoint(player, c_townMain);
targOPoint = AIWaveTargetGatherOPoint(player, c_townMain);
targD = AIWaveTargetGatherD(player, c_townMain);
mods/swarm.sc2mod — base.sc2data/TriggerLibs/Zerg/Zerg.galaxy:124
}
else {
w = AIWaveCreate(AIWaveInfoCreate(), player, AIWaveTargetGatherDPoint(player, c_townMain));
AIWaveSetType(w, c_waveStateGuardHome, AIWaveTargetGuardHomeUnit(drop));
AIWaveAddUnitPriority(w, u, c_prioWavePeon);
mods/void.sc2mod — base.sc2data/TriggerLibs/Zerg/Zerg.galaxy:130
}
else {
w = AIWaveCreate(AIWaveInfoCreate(), player, AIWaveTargetGatherDPoint(player, c_townMain));
AIWaveSetType(w, c_waveStateGuardHome, AIWaveTargetGuardHomeUnit(drop));
AIWaveAddUnitPriority(w, u, c_prioWavePeon);