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...")
 
m (→‎top: Substituted IO templates)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{ScrollBox|title=Light|
{{I|TurnOn|Turn the light on.}}
{{IO|TurnOn|Turn the light on.}}
{{I|TurnOff|The the light off.}}
{{IO|TurnOff|The the light off.}}
{{I|Toggle|Toggle the light's current state.}}
{{IO|Toggle|Toggle the light's current state.}}
{{I|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|SetPattern|Set a custom pattern of light brightness for this light. |param=string}}
{{I|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}}
{{IO|FadeToPattern|Fades from first value in old pattern, to first value in the new given pattern.|param=string}}
<noinclude>
}}<noinclude>
[[Category:Input Templates|Light]]
[[Category:Input Templates|Light]]
</noinclude>
</noinclude>

Latest revision as of 12:55, 21 April 2025

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.