4 void target_kill_use(entity this, entity actor, entity trigger)
6 if(this.active != ACTIVE_ACTIVE)
9 if(actor.takedamage == DAMAGE_NO)
12 if(!actor.iscreature && !actor.damagedbytriggers)
15 Damage(actor, this, trigger, 1000, DEATH_HURTTRIGGER.m_id, DMG_NOWEP, actor.origin, '0 0 0');
18 void target_kill_reset(entity this)
20 this.active = ACTIVE_ACTIVE;
23 spawnfunc(target_kill)
25 if (this.message == "")
26 this.message = "was in the wrong place";
28 if (this.message2 == "")
29 this.message2 = "was thrown into a world of hurt by";
31 this.use = target_kill_use;
32 this.reset = target_kill_reset;
33 this.active = ACTIVE_ACTIVE;