# AISetNextDropTimeCheck
Flags —
Native
# Arguments
int
— playerfixed
— time
Returns — void
native void AISetNextDropTimeCheck(int player, fixed time);
# Related
Category: Unclassified
# Examples
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeWaveAI.galaxy:489
}
AISetNextDropTimeCheck(player, AIGetTime() + c_dropCheckRollFreq);
if (RandomInt(1,100) > c_dropAttackChance) {
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeWaveAI.galaxy:499
}
AISetNextDropTimeCheck(player, AIGetTime() + c_dropCheckAttackFreq);
AISetAttackState(player, e_attackState_DropAttack);
mods/warcoop/warmeleeai.sc2mod — base.sc2data/TriggerLibs/MeleeWaveAI.galaxy:579
}
AISetNextDropTimeCheck(player, AIGetTime() + c_dropCheckRollFreq);
if (RandomInt(1,100) > c_dropAttackChance) {
mods/warcoop/warmeleeai.sc2mod — base.sc2data/TriggerLibs/MeleeWaveAI.galaxy:589
}
AISetNextDropTimeCheck(player, AIGetTime() + c_dropCheckAttackFreq);
AISetAttackState(player, e_attackState_DropAttack);