19 if(this.
enemy.origin !=
this.mangle)
73 o = this.
enemy.origin;
83 if(this.
dmg || this.
enemy.target !=
"")
90 if(this.
enemy.target !=
"")
118 if(hitent.takedamage)
126 sendflags = sendflags & 0x0F;
186 int old_status = this.
active;
203 if (this.
active != old_status)
219 if(this.
mdl ==
"none")
223 this.
cnt = _particleeffectnum(this.
mdl);
224 if(this.
cnt < 0 && this.
dmg)
240 LOG_WARN(
"misc_laser uses legacy field 'colormod', please use 'beam_color' instead");
252 this.
message =
"saw the light";
256 this.
message2 =
"was pushed into a laser by";
291void Draw_Laser(
entity this)
348 this.
count = (sendflags & 0xF0);
358 setorigin(
this, this.
origin);
377 this.
cnt = ReadShort();
398 this.draw = Draw_Laser;
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
IntrusiveList g_drawables
void Draw_CylindricLine(vector from, vector to, float thickness, string texture, float aspect, float shift, vector rgb, float theAlpha, float drawflag, vector vieworg)
const int INITPRIO_FINDTARGET
const float DRAWFLAG_NORMAL
const float DRAWFLAG_ADDITIVE
float trace_dphitq3surfaceflags
float Q3SURFACEFLAG_NOIMPACT
vector trace_plane_normal
void Damage(entity targ, entity inflictor, entity attacker, float damage, int deathtype,.entity weaponentity, vector hitloc, vector force)
#define particleeffectnum(e)
void InterpolateOrigin_Undo(entity this)
snap origin to iorigin2 (actual origin)
void InterpolateOrigin_Note(entity this)
void InterpolateOrigin_Do(entity this)
set origin based on iorigin1 (old pos), iorigin2 (desired pos), and time
ERASEABLE entity IL_PUSH(IntrusiveList this, entity it)
Push to tail.
void SUB_UseTargets(entity this, entity actor, entity trigger)
void misc_laser_aim(entity this)
void misc_laser_think(entity this)
void laser_setactive(entity this, int act)
bool laser_SendEntity(entity this, entity to, float sendflags)
void laser_use(entity this, entity actor, entity trigger)
void misc_laser_init(entity this)
const int SF_LASER_NOTRACE
const int SF_LASER_FINITE
const float LASER_BEAM_MAXLENGTH
const float LASER_BEAM_MAXWORLDSIZE
const int SF_LASER_UPDATE_EFFECT
const int SF_LASER_UPDATE_ACTIVE
const int SF_LASER_UPDATE_TARGET
const int SF_LASER_UPDATE_ORIGIN
const int LASER_INVERT_TEAM
#define NET_HANDLE(id, param)
#define WriteHeader(to, id)
#define REGISTER_NET_LINKED(id)
#define ReadAngleVector2D()
void Net_LinkEntity(entity e, bool docull, float dt, bool(entity this, entity to, int sendflags) sendfunc)
void generic_netlinked_reset(entity this)
void InitializeEntity(entity e, void(entity this) func, int order)