Light ambient
Changes the [r]ed
[g]reen
[b]lue
[a]lpha
of the ambient light of the current map where [r]
, [g]
, [b]
are values between [0-255]
and [a]
is [0.0-1.0]
.
Syntax
light ambient [r] [g] [b] [a]
Examples
📜 turnLightGreenTerminal.script
//light ambient [r] [g] [b] [a] text "Setting up ambient light to green" light ambient 0 255 0 1 map return
Example project
This is an example project that lets you change the ambient light from red to green to purple and influence the alpha.