Template:I Light: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Setting patterns appears to turn the light on, but I don't know for sure that this is exactly what is happening..)
m (→‎top: Substituted IO templates)
 
Line 1: Line 1:
{{IO|TurnOn|Turn the light on.}}
{{I|TurnOn|Turn the light on.}}
{{IO|TurnOff|The the light off.}}
{{I|TurnOff|The the light off.}}
{{IO|Toggle|Toggle the light's current state.}}
{{I|Toggle|Toggle the light's current state.}}
{{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}}
{{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|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}}
{{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}}
<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.