Light ambient

From Unofficial EFPSE wiki Extended
Revision as of 17:40, 17 June 2024 by Nole (talk | contribs) (→‎Added)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.


prebuilt demo - source


Added

EasyFPSEditor_CE_DEV_2024-05-28_1605 : (1.11 alpha test 1)