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.

Difference between revisions of "SetCellLighting"

Jump to navigation Jump to search
34 bytes added ,  19:33, 16 January 2012
no edit summary
imported>AndalayBay
(Created page with "{{Function | origin = OBSE | summary = Alters one or more of an interior cell's lighting fields, taking a StringMap of the same format as that returned by GetCellLighting. I...")
 
imported>AndalayBay
Line 24: Line 24:
   }}
   }}
}}
}}
== Detailed Example ==
==Detailed Example==
scn setCellLightingExampleScript
scn setCellLightingExampleScript


array_var cellLighting
array_var cellLighting


begin GameMode
begin GameMode


let cellLighting := ar_construct StringMap
  let cellLighting := ar_construct StringMap
let cellLighting["ambient"] := ar_construct array
  let cellLighting["ambient"] := ar_construct array
let cellLighting["fog"] := ar_construct array
  let cellLighting["fog"] := ar_construct array
let cellLighting["directional"] := ar_construct array
  let cellLighting["directional"] := ar_construct array
 
let cellLighting["ambient"][0] := 20
  let cellLighting["ambient"][0] := 20
let cellLighting["ambient"][1] := 20
  let cellLighting["ambient"][1] := 20
let cellLighting["ambient"][2] := 20
  let cellLighting["ambient"][2] := 20
let cellLighting["fog"][0] := 0
  let cellLighting["fog"][0] := 0
let cellLighting["fog"][1] := 0
  let cellLighting["fog"][1] := 0
let cellLighting["fog"][2] := 0
  let cellLighting["fog"][2] := 0
let cellLighting["fogfar"] := 0
  let cellLighting["fogfar"] := 0
let cellLighting["directional"][0] := 0
  let cellLighting["directional"][0] := 0
let cellLighting["directional"][1] := 0
  let cellLighting["directional"][1] := 0
let cellLighting["directional"][2] := 0
  let cellLighting["directional"][2] := 0
let cellLighting["rotxy"] := 0
  let cellLighting["rotxy"] := 0
let cellLighting["rotz"] := 0
  let cellLighting["rotz"] := 0
 
setCellLighting myModHouse cellLighting
  setCellLighting myModHouse cellLighting
end
end


== See Also ==
== See Also ==
Anonymous user

Navigation menu