Light: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
Line 1: Line 1:
==Entity Description==
==Entity Description==
An invisible light source. Can be turned on and off through inputs.
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 very basic but yet essential to almost every map.


==Keyvalues==
==Keyvalues==

Revision as of 19:34, 14 February 2006

Entity Description

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.

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