Light: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Moved 'See Also' above the generic headings, improving visibility for experienced users)
m (Added link, and explained link list.)
Line 6: Line 6:


==See Also==
==See Also==
* [[point_spotlight]]
* [[List_of_entities#Light_Entities|Light entities]]


* '''Tutorial:''' [[Adding Light]]
* '''Tutorial:''' [[Adding Light]] - A beginners tutorial.
* '''Tutorial:''' [http://www.editlife.net/tutorials.php?id=15 Quadratic/Linear/Constant in Lights]
* '''Tutorial:''' [http://www.editlife.net/tutorials.php?id=15 Quadratic/Linear/Constant in Lights]
* '''Tutorial:''' [http://www.sdknuts.com/?sdk=tutlights Source Lighting]
* '''Tutorial:''' [http://www.sdknuts.com/?sdk=tutlights Source Lighting]
* [[Intermediate Lighting#light|Intermediate Lighting]] - A brief tutorial on this entity, as well as other light entities.
* [[List_of_entities#Light_Entities|Light entities]] - A list of all the other light entities.


==Keyvalues==
==Keyvalues==

Revision as of 16:28, 13 September 2006

Template:Wrongtitle

Entity Description

Light.png

An invisible light source. Can be turned on and off through inputs. The light entity is basic yet essential to almost every map.

See Also

Keyvalues

Flags

  • 1 : Initially Off

Inputs

  • TurnOn
Turns the light on.
  • TurnOff
Turns the light off.
  • Toggle
Toggles the light on or off.
  • SetPattern
Sets the light's custom appearance to the input's parameters.
  • FadeToPattern
Fades from the light's old pattern to the new one.

Outputs