5 void target_kill_use(entity this, entity actor, entity trigger)
7 if(actor.takedamage == DAMAGE_NO)
10 if(!actor.iscreature && !actor.damagedbytriggers)
13 Damage(actor, this, trigger, 1000, DEATH_HURTTRIGGER.m_id, DMG_NOWEP, actor.origin, '0 0 0');
16 spawnfunc(target_kill)
18 this.classname = "target_kill";
20 if (this.message == "")
21 this.message = "was in the wrong place";
23 this.use = target_kill_use;