void() SUB_UseTargets;
void DelayThink()
-{
+{SELFPARAM();
activator = self.enemy;
SUB_UseTargets ();
remove(self);
#ifdef SVQC
void trigger_common_write(bool withtarget)
-{
+{SELFPARAM();
WriteByte(MSG_ENTITY, self.warpzone_isboxy);
WriteByte(MSG_ENTITY, self.scale);
#elif defined(CSQC)
void trigger_common_read(bool withtarget)
-{
+{SELFPARAM();
self.warpzone_isboxy = ReadByte();
self.scale = ReadByte();
}
void trigger_remove_generic()
-{
+{SELFPARAM();
if(self.target) { strunzone(self.target); }
self.target = string_null;
==============================
*/
void SUB_UseTargets()
-{
+{SELFPARAM();
entity t, stemp, otemp, act;
string s;
float i;
#ifdef CSQC
void trigger_touch_generic(void() touchfunc)
-{
+{SELFPARAM();
entity e;
for(e = findradius((self.absmin + self.absmax) * 0.5, vlen(self.absmax - self.absmin) * 0.5 + 1); e; e = e.chain)
if(e.isplayermodel || e.classname == "csqcprojectile")
}
}
void trigger_draw_generic()
-{
+{SELFPARAM();
float dt = time - self.move_time;
self.move_time = time;
if(dt <= 0) { return; }