Light sun colour: Difference between revisions
Jump to navigation
Jump to search
(Created page with "Changes the <code>[r]ed</code> <code>[g]reen</code> <code>[b]lue</code> <code>[a]lpha</code> of the sun's light of the current map where <code>[r]</code>, <code>[g]</code>, <code>[b]</code> are values between <code>[0-255]</code> and <code>[a]</code> is <code>[0.0-1.0]</code>. ==== Syntax ==== <code>light sun [r] [g] [b] [a]</code> ==== Examples ==== 📜 turnLightGreenTerminal.script<br> <pre> //light sun [r] [g] [b] [a] text "Setting up sun light to green" light su...")  |
(No difference)
|
Latest revision as of 17:59, 17 June 2024
Changes the [r]ed [g]reen [b]lue [a]lpha of the sun's light of the current map where [r], [g], [b] are values between [0-255] and [a] is [0.0-1.0].
Syntax
light sun [r] [g] [b] [a]
Examples
📜 turnLightGreenTerminal.script
//light sun [r] [g] [b] [a] text "Setting up sun light to green" light sun 0 255 0 1 map return