Light: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (→‎See Also: That was the only broken link there.)
m (Moved 'See Also' above the generic headings, improving visibility for experienced users)
Line 4: Line 4:
[[Image:Light.png|left]]An invisible '''light''' source. Can be turned on and off through inputs.
[[Image:Light.png|left]]An invisible '''light''' source. Can be turned on and off through inputs.
The light entity is basic yet essential to almost every map.{{clr}}
The light entity is basic yet essential to almost every map.{{clr}}
==See Also==
* [[point_spotlight]]
* [[List_of_entities#Light_Entities|Light entities]]
* '''Tutorial:''' [[Adding Light]]
* '''Tutorial:''' [http://www.editlife.net/tutorials.php?id=15 Quadratic/Linear/Constant in Lights]
* '''Tutorial:''' [http://www.sdknuts.com/?sdk=tutlights Source Lighting]


==Keyvalues==
==Keyvalues==
Line 36: Line 44:


* {{kv targetname}}
* {{kv targetname}}
==See Also==
* [[point_spotlight]]
* [[List_of_entities#Light_Entities|Light entities]]
* '''Tutorial:''' [[Adding Light]]
* '''Tutorial:''' [http://www.editlife.net/tutorials.php?id=15 Quadratic/Linear/Constant in Lights]
* '''Tutorial:''' [http://www.sdknuts.com/?sdk=tutlights Source Lighting]


[[Category:Entities]]
[[Category:Entities]]

Revision as of 04:43, 6 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