GetLightRGB

Revision as of 16:11, 21 December 2023 by 173.17.114.221 (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
< [[::Category:Functions|Category:Functions]]

A function added by the Oblivion Script Extender.

Syntax:

(rgb:Array) reference.GetLightRGB light:ref

Returns the red, green, and blue components of the light's color as an Array of 3 elements of values 0 through 255. The first element corresponds to the red value, the second to green, and the third to blue.