This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
enable_screen_effect [2024/02/22 00:06] – justin | enable_screen_effect [2025/02/16 14:29] (current) – justin | ||
---|---|---|---|
Line 1: | Line 1: | ||
======Enable Screen Effect====== | ======Enable Screen Effect====== | ||
---- | ---- | ||
- | Coming | + | Enables either the VHS/CRT monitor effect or the retro effect over a duration of time (in seconds). The second parameter should be a [[string]] value of other " |
- | + | ||
- | (WIP) | + | |
====Signature: | ====Signature: | ||
<code python> | <code python> | ||
- | function() | + | enable_screen_effect(duration, screen_effect_id) |
</ | </ | ||
^Argument^Description^Type^Required^ | ^Argument^Description^Type^Required^ | ||
- | | | | | | | + | |duration|Duration of time over which the screen effect will be enabled. Defaults to 0 (instant).|[[Number]]|No| |
+ | |screen_effect_id|ID of the screen effect to enable, either " | ||
====Example: | ====Example: | ||
<code bauxite> | <code bauxite> | ||
- | function(); | + | enable_screen_effect(2, " |
</ | </ | ||
- | // | + | // |
<WRAP center round tip 100%> | <WRAP center round tip 100%> | ||
- | Use the **Function** function to... | + | Use the **Enable Screen Effect** function to... |
</ | </ | ||
Line 28: | Line 27: | ||
<WRAP half column> | <WRAP half column> | ||
====Editor Node:==== | ====Editor Node:==== | ||
- | {{:function_node.png? | + | {{:enable_screen_effect_node.png? |
</ | </ | ||