# AIWaveTargetMeleeBeacon
Flags —
Native
# Arguments
int
— player
Returns — wavetarget
native wavetarget AIWaveTargetMeleeBeacon(int player);
# Related
Category: Unclassified
# Examples
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeWaveAI.galaxy:205
if (PlayerBeaconIsSet(player, c_beaconArmy)) {
if (state != c_waveStateBeacon) {
AIWaveSetType(w, c_waveStateBeacon, AIWaveTargetMeleeBeacon(player));
}
return;
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeWaveAI.galaxy:638
if (AIWaveState(w) != c_waveStateBeacon) {
DebugAIPlayerWave(player, "AIWaveMain set wave = beacon");
AIWaveSetType(w, c_waveStateBeacon, AIWaveTargetMeleeBeacon(player));
}
return;
mods/warcoop/warmeleeai.sc2mod — base.sc2data/TriggerLibs/MeleeWaveAI.galaxy:298
if (PlayerBeaconIsSet(player, c_beaconArmy)) {
if (state != c_waveStateBeacon) {
AIWaveSetType(w, c_waveStateBeacon, AIWaveTargetMeleeBeacon(player));
}
return;
mods/warcoop/warmeleeai.sc2mod — base.sc2data/TriggerLibs/MeleeWaveAI.galaxy:723
if (AIWaveState(w) != c_waveStateBeacon) {
DebugAIPlayerWave(player, "AIWaveMain set wave = beacon");
AIWaveSetType(w, c_waveStateBeacon, AIWaveTargetMeleeBeacon(player));
}
return;