This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
apply_lighting_preset [2021/12/13 15:23] – justin | apply_lighting_preset [2021/12/13 16:04] (current) – justin | ||
---|---|---|---|
Line 2: | Line 2: | ||
---- | ---- | ||
- | Changes... | + | Changes |
====Signature: | ====Signature: | ||
Line 10: | Line 10: | ||
^Argument^Description^Type^Required^ | ^Argument^Description^Type^Required^ | ||
- | |preset_name|[[groups|Group]] | + | |preset_name|Name of the lighting preset (as defined in the [[Map Editor]]).|[[String]]|Yes| |
- | |duration|Fade duration from their current | + | |duration|Fade duration from the current |
- | + | ||
- | <WRAP center round info 100%> | + | |
- | If you'd like to instantly toggle the [[entity]] [[groups|group' | + | |
- | </ | + | |
====Example: | ====Example: | ||
Line 21: | Line 17: | ||
apply_lighting_preset(" | apply_lighting_preset(" | ||
</ | </ | ||
- | // | + | // |
<WRAP center round tip 100%> | <WRAP center round tip 100%> | ||
- | Use the **Set Group Light Color** function to dim/ | + | Use the **Apply Lighting Preset** function to give the effect that the time of day has changed |
</ | </ | ||
Line 30: | Line 26: | ||
<WRAP half column> | <WRAP half column> | ||
====Editor Node:==== | ====Editor Node:==== | ||
- | {{:wiki: | + | {{: |
</ | </ | ||
<WRAP half column> | <WRAP half column> | ||
====Visual Demo:==== | ====Visual Demo:==== | ||
- | {{:wiki: | + | {{: |
</ | </ | ||
</ | </ | ||
~~NOTOC~~ | ~~NOTOC~~ |