3 .float triggerhealtime;
10 if (toucher.iscreature)
12 if (toucher.takedamage && !
IS_DEAD(toucher) && toucher.triggerhealtime <
time)
18 toucher.triggerhealtime =
time + this.
delay;
23 if(playthesound || healed)
31 trigger_heal_touch(
this, actor);
34 void trigger_heal_init(
entity this)
44 this.
noise =
"misc/mediumhealth.wav";
51 settouch(
this, trigger_heal_touch);
52 trigger_heal_init(
this);
57 this.
use = trigger_heal_use;
58 trigger_heal_init(
this);
#define EXACTTRIGGER_INIT
#define EXACTTRIGGER_TOUCH(e, t)
spawnfunc(info_player_attacker)
const int HEAL_SOUND_ALWAYS
bool Heal(entity targ, entity inflictor, float amount, float limit)
#define _sound(e, c, s, v, a)