<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.svencoop.com/index.php?action=history&amp;feed=atom&amp;title=TE_ELIGHT</id>
	<title>TE ELIGHT - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.svencoop.com/index.php?action=history&amp;feed=atom&amp;title=TE_ELIGHT"/>
	<link rel="alternate" type="text/html" href="https://wiki.svencoop.com/index.php?title=TE_ELIGHT&amp;action=history"/>
	<updated>2026-04-24T20:54:33Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://wiki.svencoop.com/index.php?title=TE_ELIGHT&amp;diff=1377&amp;oldid=prev</id>
		<title>Outerbeast: Created page with &quot;TE_ELIGHT A spherical dynamic light that fades over time and only affects point entities. This appears to be the same effect used with the EF_MUZZ...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.svencoop.com/index.php?title=TE_ELIGHT&amp;diff=1377&amp;oldid=prev"/>
		<updated>2025-07-07T18:03:53Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/File:TE_ELIGHT.gif&quot; title=&quot;File:TE ELIGHT.gif&quot;&gt;frame|TE_ELIGHT&lt;/a&gt; A spherical dynamic light that fades over time and only affects point entities. This appears to be the same effect used with the EF_MUZZ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[File:TE ELIGHT.gif|frame|TE_ELIGHT]]&lt;br /&gt;
A spherical dynamic light that fades over time and only affects point entities. This appears to be the same effect used with the EF_MUZZLEFLASH effect (seen with the gauss gun primary fire).&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
void te_elight(CBaseEntity@ target, Vector pos, float radius=1024.0f, &lt;br /&gt;
	RGBA c=PURPLE, uint8 life=16, float decayRate=2000.0f, &lt;br /&gt;
	NetworkMessageDest msgType=MSG_BROADCAST, edict_t@ dest=null)&lt;br /&gt;
{&lt;br /&gt;
	NetworkMessage m(msgType, NetworkMessages::SVC_TEMPENTITY, dest);&lt;br /&gt;
	m.WriteByte(TE_ELIGHT);&lt;br /&gt;
	m.WriteShort(target.entindex());&lt;br /&gt;
	m.WriteCoord(pos.x);&lt;br /&gt;
	m.WriteCoord(pos.y);&lt;br /&gt;
	m.WriteCoord(pos.z);&lt;br /&gt;
	m.WriteCoord(radius);&lt;br /&gt;
	m.WriteByte(c.r);&lt;br /&gt;
	m.WriteByte(c.g);&lt;br /&gt;
	m.WriteByte(c.b);&lt;br /&gt;
	m.WriteByte(life);&lt;br /&gt;
	m.WriteCoord(decayRate);&lt;br /&gt;
	m.End();&lt;br /&gt;
}&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Vector	pos	Center point for the effect&lt;br /&gt;
* float	radius	Radius of the light sphere&lt;br /&gt;
* RGBA	c	Light color&lt;br /&gt;
* uint8	life	Time to display the light (seconds * 0.1)&lt;br /&gt;
* uint8	decayRate	Light fade speed&lt;br /&gt;
[[Category:Scripting]]&lt;/div&gt;</summary>
		<author><name>Outerbeast</name></author>
	</entry>
</feed>