# AILastAttackStartEval
Flags —
Native
# Arguments
wave
— w
Returns — int
native int AILastAttackStartEval(wave w);
# Related
Category: Unclassified
# Examples
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeWaveAI.galaxy:615
else {
eval = AIWaveEval(w) + AIWaveEval(AIWaveGet(player, c_waveMain));
if (IntToFixed(eval) > IntToFixed(AILastAttackStartEval(w)) * 1.33) {
enoughForce = true;
}
mods/warcoop/warmeleeai.sc2mod — base.sc2data/TriggerLibs/MeleeWaveAI.galaxy:699
else {
eval = AIWaveEval(w) + AIWaveEval(AIWaveGet(player, c_waveMain));
if (IntToFixed(eval) > IntToFixed(AILastAttackStartEval(w)) * 1.33) {
enoughForce = true;
}