Template:I Source 2 Light: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{ScrollBox|title=Source 2 Light| {{IO|SetLightEnabled|Sets whether the light is enabled (takes parameter of 0 or 1)|param=integer}} {{IO|TurnOn|Turn the light on.}} {{IO|Turn...") |
m (→top: Substituted IO templates) |
||
Line 1: | Line 1: | ||
{{ScrollBox|title=Source 2 Light| | {{ScrollBox|title=Source 2 Light| | ||
{{ | {{I|SetLightEnabled|Sets whether the light is enabled (takes parameter of 0 or 1)|param=integer}} | ||
{{ | {{I|TurnOn|Turn the light on.}} | ||
{{ | {{I|TurnOff|The the light off.}} | ||
{{ | {{I|Toggle|Toggle the light's current state.}} | ||
{{ | {{I|SetLightColor|Set light color.|param=vector}} | ||
{{ | {{I|SetLightBrightness|Set light brightness.|param=float}} | ||
{{ | {{I|SetAppearance|Set appearance 0: Normal 1: Flicker A, 2: Slow, strong pulse 3: Candle A ...|param=integer}} | ||
{{ | {{I|SetCustomAppearance|Set a custom pattern of light brightness for this light. Pattern format is a string of characters, where 'a' is total darkness, 'z' fully bright. i.e. 'aaggnnttzz' would be a steppy fade in from dark to light.|param=string}}}} | ||
<noinclude> | <noinclude> | ||
[[Category:Input Templates|Source 2 Light]] | [[Category:Input Templates|Source 2 Light]] | ||
</noinclude> | </noinclude> |
Latest revision as of 12:56, 21 April 2025
Source 2 Light:
- SetLightEnabled <integer>
- Sets whether the light is enabled (takes parameter of 0 or 1)
- TurnOn
- Turn the light on.
- TurnOff
- The the light off.
- Toggle
- Toggle the light's current state.
- SetLightColor <vector>
- Set light color.
- SetLightBrightness <float>
- Set light brightness.
- SetAppearance <integer>
- Set appearance 0: Normal 1: Flicker A, 2: Slow, strong pulse 3: Candle A ...
- SetCustomAppearance <string>
- Set a custom pattern of light brightness for this light. Pattern format is a string of characters, where 'a' is total darkness, 'z' fully bright. i.e. 'aaggnnttzz' would be a steppy fade in from dark to light.