Template:I Light: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{ScrollBox|title=Light| {{IO|TurnOn|Turn the light on.}} {{IO|TurnOff|The the light off.}} {{IO|Toggle|Toggle the light's current state.}} {{IO|SetPattern|Set a custom pattern o...")
 
(Setting patterns appears to turn the light on, but I don't know for sure that this is exactly what is happening..)
Line 1: Line 1:
{{ScrollBox|title=Light|
{{IO|TurnOn|Turn the light on.}}
{{IO|TurnOn|Turn the light on.}}
{{IO|TurnOff|The the light off.}}
{{IO|TurnOff|The the light off.}}
{{IO|Toggle|Toggle the light's current state.}}
{{IO|Toggle|Toggle the light's current state.}}
{{IO|SetPattern|Set a custom pattern of light brightness for this light. |param=string}}
{{IO|SetPattern|Set a custom pattern of light brightness for this light.  If the Light is off, then this input appears to turn it on.|param=string}}
{{IO|FadeToPattern|Fades from first value in old pattern, to first value in the new given pattern.|param=string}}
{{IO|FadeToPattern|Fades from first value in old pattern, to first value in the new given pattern.  If the Light is off, then this input appears to turn it on.|param=string}}
}}<noinclude>
<noinclude>
[[Category:Input Templates|Light]]
[[Category:Input Templates|Light]]
</noinclude>
</noinclude>

Revision as of 05:44, 13 April 2014

TurnOn
Turn the light on.
TurnOff
The the light off.
Toggle
Toggle the light's current state.
SetPattern <string>
Set a custom pattern of light brightness for this light. If the Light is off, then this input appears to turn it on.
FadeToPattern <string>
Fades from first value in old pattern, to first value in the new given pattern. If the Light is off, then this input appears to turn it on.