if(time >= self.last_trace)
{
self.last_trace = time + 0.4;
- self.angles = '0 0 -90';
+
Damage (self, world, world, 2, DEATH_DROWN, self.origin, '0 0 0');
+ self.angles = '90 90 0';
if(random() < 0.5)
{
self.velocity_y += random() * 50;
self.velocity_y -= random() * 50;
self.velocity_x += random() * 50;
}
- //self.velocity_z += random() * 150;
- self.movetype = MOVETYPE_BOUNCE;
- self.velocity_z = -200;
+ self.velocity_z += random() * 150;
}
+
+
+ self.movetype = MOVETYPE_BOUNCE;
+ //self.velocity_z = -200;
+
+ self.SendFlags |= MSF_MOVE | MSF_ANG;
+
return;
}
else
{
tarbaby_blowup();
+ self.think = Monster_Fade;
+ self.nextthink = time + 0.1;
+
monster_hook_death(); // calling this next frame should be ok...
}
self.event_damage = func_null;
self.movetype = MOVETYPE_NONE;
self.enemy = world;
+ self.health = 0;
+
+ WaypointSprite_Kill(self.sprite);
+
+ self.SendFlags |= MSF_MOVE | MSF_STATUS;
}
void tarbaby_spawn ()