[dismiss]
This wiki is a copy of the original Oblivion CS wiki created and maintained by the UESP.net. See CSwiki:Copy Notice for more info.
GetCellLighting
Jump to navigation
Jump to search
< [[::Category:Functions|Category:Functions]]
A function added by the Oblivion Script Extender.
Syntax:
(lighting:StringMap) GetCellLighting cell:ref
Returns a StringMap describing the lighting properties for the interior cell. The StringMap contains the following key-value pairs corresponding to the fields in the editor's Cell Lighting tab, where 'RGB Array' is a 3-element Array with values from 0-255 in the order {red, green, blue}:
- "ambient" (RGB Array)
- "directional" (RGB Array)
- "fog" (RGB Array)
- "rotxy" (float)
- "rotz" (float)
- "fognear" (float)
- "fogfar" (float)
- "clip" (float)
- "fade" (float)