// weapon switching impulses
if(self.deadflag == DEAD_NO)
W_NextWeaponOnImpulse(imp);
// weapon switching impulses
if(self.deadflag == DEAD_NO)
W_NextWeaponOnImpulse(imp);
break;
case 17:
W_ThrowWeapon(W_CalculateProjectileVelocity(self.velocity, v_forward * 750, FALSE), '0 0 0', TRUE);
break;
case 18:
break;
case 17:
W_ThrowWeapon(W_CalculateProjectileVelocity(self.velocity, v_forward * 750, FALSE), '0 0 0', TRUE);
break;
case 18:
{
wp = WaypointSprite_Attach("helpme", TRUE, RADARICON_HELPME, '1 0.5 0');
if(!wp)
{
wp = WaypointSprite_Attach("helpme", TRUE, RADARICON_HELPME, '1 0.5 0');
if(!wp)
for(e = findchain(classname, "waypoint"); e; e = e.chain)
{
e.colormod = '0.5 0.5 0.5';
for(e = findchain(classname, "waypoint"); e; e = e.chain)
{
e.colormod = '0.5 0.5 0.5';
}
e2 = navigation_findnearestwaypoint(self, FALSE);
navigation_markroutes(e2);
}
e2 = navigation_findnearestwaypoint(self, FALSE);
navigation_markroutes(e2);
{
print("cannot reach me: ", etos(e), " ", vtos(e.origin), "\n");
e.colormod_x = 8;
{
print("cannot reach me: ", etos(e), " ", vtos(e.origin), "\n");
e.colormod_x = 8;
start = findchainflags(flags, FL_ITEM);
for(e = start; e; e = e.chain)
{
start = findchainflags(flags, FL_ITEM);
for(e = start; e; e = e.chain)
{