void main()
{//
void self = getlocalvar("self"); //Get calling entity.
int StuTime = getentityproperty(self, "freezetime");
if(StuTime > 0){
changeentityproperty(self, "nodrop", 1);
} else {
changeentityproperty(self, "nodrop", 0);
}
}
takedamagescript data/scripts/hitF.c
no i was asking that in order to not have yet another pain anim i allready have a lot ;p but i see your point thanks for the help malik@Gurtag a more simple method would be instead of a attackbox use freeze burn or any numbered attack box with a corresponding pain animation of the entity stunned.
But if you want them to freeze like sub-zero hitting a ice attack then bloodbanes method is better.