void spawnfunc_weapon_rocketlauncher(void) { spawnfunc_weapon_devastator(); }
void W_Devastator_Unregister(void)
-{
+{SELFPARAM();
if(self.realowner && self.realowner.lastrocket == self)
{
self.realowner.lastrocket = world;
}
void W_Devastator_Explode(void)
-{
+{SELFPARAM();
W_Devastator_Unregister();
if(other.takedamage == DAMAGE_AIM)
}
void W_Devastator_DoRemoteExplode(void)
-{
+{SELFPARAM();
W_Devastator_Unregister();
self.event_damage = func_null;
}
void W_Devastator_RemoteExplode(void)
-{
+{SELFPARAM();
if(self.realowner.deadflag == DEAD_NO)
if(self.realowner.lastrocket)
{
// normalize(0)
void W_Devastator_Think(void)
-{
+{SELFPARAM();
vector desireddir, olddir, newdir, desiredorigin, goal;
float velspeed, f;
self.nextthink = time;
}
void W_Devastator_Touch(void)
-{
+{SELFPARAM();
if(WarpZone_Projectile_Touch())
{
if(wasfreed(self))
}
void W_Devastator_Damage(entity inflictor, entity attacker, float damage, int deathtype, vector hitloc, vector force)
-{
+{SELFPARAM();
if(self.health <= 0)
return;
}
void W_Devastator_Attack(void)
-{
+{SELFPARAM();
entity missile;
entity flash;
}
bool W_Devastator(int req)
-{
+{SELFPARAM();
entity rock;
float rockfound;
float ammo_amount;
#endif
#ifdef CSQC
bool W_Devastator(int req)
-{
+{SELFPARAM();
switch(req)
{
case WR_IMPACTEFFECT: