{
if not(self.health) self.health = MON_CVAR(zombie, health);
+ if(self.spawnflags & MONSTERFLAG_NORESPAWN)
+ self.spawnflags &~= MONSTERFLAG_NORESPAWN; // zombies always respawn
+
self.monster_loot = spawnfunc_item_health_medium;
self.monster_attackfunc = zombie_attack;
monsters_setframe(zombie_anim_spawn);
self.spawn_time = time + 2.1;
self.spawnshieldtime = self.spawn_time;
- self.respawntime = 0.1;
+ self.respawntime = 0.2;
return TRUE;
}
self.SendFlags |= MSF_MOVE;
self.SendFlags |= MSF_STATUS;
-
- return;
}
- SUB_SetFade(self, time + 3, 1);
+ else
+ SUB_SetFade(self, time + 3, 1);
}
float Monster_CanJump (vector vel)
self.think = monster_think;
self.nextthink = time + self.ticrate;
- self.SendFlags = MSF_SETUP;
+ self.SendFlags |= MSF_SETUP;
}
float monster_initialize(float mon_id, float nodrop)