name       delay
health       10
type       enemy
shadow     0
nomove     1

anim idle
@script
    void self = getlocalvar("self");
    int  Health = getentityproperty(self, "health");

    if(frame==1){
      changeentityproperty(self, "health", Health-5);
      if (Health <= 0){
        killentity(self);
      }
    }
@end_script
   loop   1
   delay   49
   offset   1 1
   frame   data/chars/misc/empty.gif
   delay   1
   frame   data/chars/misc/empty.gif

