6 void multi_wait(
entity this)
20 void multi_trigger(
entity this)
47 else if (this.
wait == 0)
100 this.
enemy = toucher;
113 if(((this.
spawnflags & INVERT_TEAMS) == 0) == (this.
team != attacker.team))
118 this.
enemy = attacker;
124 void multi_reset(
entity this)
127 settouch(
this, multi_touch);
137 this.
use = multi_use;
155 this.reset = multi_reset;
157 this.
noise =
"misc/secret.wav";
158 else if (this.
sounds == 2)
160 else if (this.
sounds == 3)
161 this.
noise =
"misc/trigger1.wav";
168 else if(this.
wait < -1)
170 this.
use = multi_use;
183 objerror (
this,
"health and notouch don't make sense\n");
186 this.event_damage = multi_eventdamage;
195 settouch(
this, multi_touch);
218 spawnfunc_trigger_multiple(
this);
const int HITTYPE_SPLASH
automatically set by RadiusDamage
const int SPAWNFLAG_NOTOUCH
#define EXACTTRIGGER_INIT
bool SetResourceExplicit(entity e, Resource res_type, float amount)
Sets the resource amount of an entity without calling any hooks.
#define EXACTTRIGGER_TOUCH(e, t)
ClientState CS(Client this)
void SUB_UseTargets(entity this, entity actor, entity trigger)
spawnfunc(info_player_attacker)
void TakeResource(entity receiver, Resource res_type, float amount)
Takes an entity some resource.
ERASEABLE entity IL_PUSH(IntrusiveList this, entity it)
Push to tail.
vector(float skel, float bonenum) _skel_get_boneabs_hidden
float GetResource(entity e, Resource res_type)
Returns the current amount of resource the given entity has.
#define _sound(e, c, s, v, a)
IntrusiveList g_saved_team
#define DEATH_ISSPECIAL(t)