Light: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Revert?)
Line 33: Line 33:
* '''Tutorial:''' [[Adding Light]] - A beginners tutorial on how to set up this entity.
* '''Tutorial:''' [[Adding Light]] - A beginners tutorial on how to set up this entity.
* '''Tutorial:''' [[Intermediate Lighting#light|Intermediate Lighting]] - A continuation on the above tutorial, further dealing with how to set up light sources in general.
* '''Tutorial:''' [[Intermediate Lighting#light|Intermediate Lighting]] - A continuation on the above tutorial, further dealing with how to set up light sources in general.
* [[Advanced Lighting]]


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

Revision as of 18:28, 16 December 2006

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