11 .float triggerhurttime;
14 if (!toucher.takedamage)
24 if (toucher.iscreature)
29 toucher.triggerhurttime =
time;
39 Damage (toucher,
this, own, this.
dmg, DEATH_HURTTRIGGER.m_id,
DMG_NOWEP, toucher.origin,
'0 0 0');
42 else if(toucher.damagedbytriggers)
45 Damage(toucher,
this,
this, this.
dmg, DEATH_HURTTRIGGER.m_id,
DMG_NOWEP, toucher.origin,
'0 0 0');
54 .entity trigger_hurt_next;
61 settouch(
this, trigger_hurt_touch);
62 this.
use = trigger_hurt_use;
67 this.
message =
"was in the wrong place";
68 if (this.message2 ==
"")
69 this.message2 =
"was thrown into a world of hurt by";
72 if(!trigger_hurt_first)
73 trigger_hurt_first =
this;
75 trigger_hurt_last.trigger_hurt_next =
this;
76 trigger_hurt_last =
this;
83 for(th = trigger_hurt_first; th; th = th.trigger_hurt_next)
84 if(tracebox_hits_box(start, e_min, e_max, end, th.absmin, th.absmax))
#define EXACTTRIGGER_INIT
#define EXACTTRIGGER_TOUCH(e, t)
float autocvar_sys_ticrate
spawnfunc(info_player_attacker)
void Damage(entity targ, entity inflictor, entity attacker, float damage, int deathtype,.entity weaponentity, vector hitloc, vector force)
vector(float skel, float bonenum) _skel_get_boneabs_hidden