Hi, Blink
I think maybe where you got my.passable = on;
should be in the while loop.

Code:

while (my.skill22 < 80) // the enemy is dead
{
ent_animate(me,"death", my.skill22, ANM_CYCLE); // play death frames animation
my.skill22 += 1 * time_step; // "death" animation speed
my.passable = on; // the corpse can't be hit by the sword from now on
wait (1);
}




Windows XP SP3
Intel Dual Core CPU: E5200 @ 2.5GHz
4.00GB DDR3 Ram
ASUS P5G41T-M LX
PCIE x16 GeForce GTS 450 1Gb
SB Audigy 4
Spyware Doctor with AntiVirus