10 Damage (blocker,
this,
this, this.
dmg, DEATH_HURTTRIGGER.m_id,
DMG_NOWEP, blocker.origin,
'0 0 0');
16 Damage (blocker,
this,
this, 10000, DEATH_HURTTRIGGER.m_id,
DMG_NOWEP, blocker.origin,
'0 0 0');
31 tmin = this.
absmin +
'25 25 0';
32 tmax = this.
absmax -
'25 25 -8';
33 tmin_z = tmax_z - (this.pos1_z - this.pos2_z + 8);
37 if (this.size_x <= 50)
39 tmin_x = (this.mins_x + this.maxs_x) / 2;
42 if (this.size_y <= 50)
44 tmin_y = (this.mins_y + this.maxs_y) / 2;
52 setsize (trigger, tmin, tmax);
58 objerror(
this,
"plat_spawn_inside_trigger: platform has odd size or lip, can't spawn");
93 if (!toucher.iscreature)
114 if (!toucher.iscreature)
143 Damage (blocker,
this,
this, 10000, DEATH_HURTTRIGGER.m_id,
DMG_NOWEP, blocker.origin,
'0 0 0');
151 Damage (blocker,
this,
this, this.
dmg, DEATH_HURTTRIGGER.m_id,
DMG_NOWEP, blocker.origin,
'0 0 0');
154 Damage (blocker,
this,
this, 10000, DEATH_HURTTRIGGER.m_id,
DMG_NOWEP, blocker.origin,
'0 0 0');
172 objerror (
this,
"plat_use: not in up state");
207 e.platmovetype_start =
stof(
argv(0));
209 e.platmovetype_start = 0;
214 e.platmovetype_end = e.platmovetype_start;
217 if(
argv(2) ==
"force")
222 objerror(e,
"Invalid platform move type; platform would go in reverse, which is not allowed.");
ERASEABLE bool cubic_speedfunc_is_sane(float startspeedfactor, float endspeedfactor)
void SUB_CalcMove(entity this, vector tdest, float tspeedtype, float tspeed, void(entity this) func)
const int SF_TRIGGER_RESET
void Damage(entity targ, entity inflictor, entity attacker, float damage, int deathtype,.entity weaponentity, vector hitloc, vector force)
const int CH_TRIGGER_SINGLE
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)
const float SOLID_TRIGGER
void set_movetype(entity this, int mt)