Light: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
* {{kv targetname}} | * {{kv targetname}} | ||
* (( | * ((kv light)) | ||
==Flags== | ==Flags== |
Revision as of 02:52, 5 August 2005
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
- Template:Kv targetname
- ((kv light))
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
- point_spotlight
- Light entities
- Tutorial: Quadratic/Linear/Constant in Lights
- Tutorial: Source Lighting