|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
Go to the source code of this file.
Functions | |
| bool | laser_SendEntity (entity this, entity to, float sendflags) |
| void | laser_setactive (entity this, int act) |
| void | laser_use (entity this, entity actor, entity trigger) |
| void | misc_laser_aim (entity this) |
| void | misc_laser_init (entity this) |
| void | misc_laser_think (entity this) |
| spawnfunc (misc_laser) | |
Variables | |
| entity | pusher |
Definition at line 123 of file laser.qc.
References active, alpha, beam_color, bound(), cnt, enemy, entity(), LASER_FINITE, LASER_NOTRACE, mangle, modelscale, MSG_ENTITY, origin, scale, SF_LASER_ALPHA, SF_LASER_FINITE, SF_LASER_NOTRACE, SF_LASER_SCALE, SF_LASER_UPDATE_ACTIVE, SF_LASER_UPDATE_EFFECT, SF_LASER_UPDATE_ORIGIN, SF_LASER_UPDATE_TARGET, spawnflags, WriteByte(), WriteHeader, and WriteShort().
Referenced by spawnfunc().
Definition at line 184 of file laser.qc.
References active, ACTIVE_ACTIVE, ACTIVE_NOT, ACTIVE_TOGGLE, entity(), misc_laser_aim(), SendFlags, and SF_LASER_UPDATE_ACTIVE.
Referenced by spawnfunc().
Definition at line 210 of file laser.qc.
References ACTIVE_TOGGLE, and entity().
Referenced by spawnfunc().
Definition at line 12 of file laser.qc.
References angles, enemy, entity(), LASER_FINITE, mangle, oldorigin, origin, SendFlags, SF_LASER_UPDATE_ORIGIN, SF_LASER_UPDATE_TARGET, spawnflags, vectoangles(), and vector.
Referenced by laser_setactive(), and misc_laser_think().
Definition at line 51 of file laser.qc.
References enemy, entity(), find(), NULL, target, and targetname.
Referenced by spawnfunc().
Definition at line 58 of file laser.qc.
References active, ACTIVE_NOT, count, Damage(), dmg, DMG_NOWEP, enemy, entity(), frametime, LASER_BEAM_MAXLENGTH, LASER_FINITE, LASER_INVERT_TEAM, makevectors, mangle, misc_laser_aim(), MOVE_NORMAL, nextthink, normalize(), NULL, origin, pusher, spawnflags, SUB_UseTargets(), team, time, trace_endpos, trace_ent, v_forward, and vector.
Referenced by spawnfunc().
| spawnfunc | ( | misc_laser | ) |
Definition at line 215 of file laser.qc.
References alpha, angles, beam_color, cnt, colormod, dmg, generic_netlinked_reset(), InitializeEntity(), INITPRIO_FINDTARGET, laser_SendEntity(), laser_setactive(), laser_use(), LOG_WARN, mangle, mdl, message, message2, misc_laser_init(), misc_laser_think(), modelscale, Net_LinkEntity(), nextthink, particleeffectnum, scale, setthink, targetname, time, and use.
| entity pusher |
Definition at line 57 of file laser.qc.
Referenced by _GlobalSound(), football_touch(), InitBall(), misc_laser_think(), and PlayerDamage().