Light

From Valve Developer Community
Revision as of 15:06, 3 December 2006 by Ts2do (talk | contribs) (Revert?)
Jump to navigation Jump to search

Template:Wrongtitle

Note.pngNote:For an article on light sources in general, proceed to Lighting.

Entity Description

Light.png

An invisible light source. If named, it can be turned on and off through inputs.

The light entity is basic yet essential to almost every map.

Keyvalues

Flags

  • 1 : Initially Off

Inputs

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

See Also

  • Tutorial: Adding Light - A beginners tutorial on how to set up this entity.
  • Tutorial: Intermediate Lighting - A continuation on the above tutorial, further dealing with how to set up light sources in general.