EF DIMLIGHT: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
 
(updated link)
Line 6: Line 6:
To use this effect, turn off SmartEdit mode and add the following keyvalue pair to the entity: <code>effects 4</code>.
To use this effect, turn off SmartEdit mode and add the following keyvalue pair to the entity: <code>effects 4</code>.


{{note|If it is desired to use this with other [[effects]], you should add the integer value of each effect to the value.}}
{{note|If it is desired to use this with other [[effects enum|effects]], you should add the integer value of each effect to the value.}}
[[Category:Constants]]
[[Category:Constants]]

Revision as of 17:29, 28 September 2006

Template:Wrongtitle EF_DIMLIGHT is defined as 0x004, or 4.

This effect creates a dynamic light with an RGB value of 100 100 100 and a random radius of 200 to 231 at the origin.

To use this effect, turn off SmartEdit mode and add the following keyvalue pair to the entity: effects 4.

Note.pngNote:If it is desired to use this with other effects, you should add the integer value of each effect to the value.