Light: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
Line 1: Line 1:
==Entity Description==
==Entity Description==
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 very basic but yet essential to almost every map.
The light entity is basic yet essential to almost every map.{{clr}}


==Keyvalues==
==Keyvalues==

Revision as of 23:36, 29 March 2006

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.

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

See Also