I've tried a using a While statement with a delay in it, but the while overrides the delay. So how can I solve this?
((note that this is a function called from another script))
void castcard152(object oPC, int addToSwampPool)
{
SendMessageToPC(oPC, "card152 triggered...next should be the damage " + IntToString(addToSwampPool));
int x = 0;
while( x < 100)
{
DelayCommand(10.0, SendMessageToPC(oPC, "Deal 2 points of damage"));
x++;
}
}





Retour en haut







