Difference between revisions of "SetCellLighting"
Jump to navigation
Jump to search
no edit summary
imported>AndalayBay |
imported>AndalayBay |
||
Line 26: | Line 26: | ||
==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 | ||
Line 48: | Line 48: | ||
let cellLighting["rotxy"] := 0 | let cellLighting["rotxy"] := 0 | ||
let cellLighting["rotz"] := 0 | let cellLighting["rotz"] := 0 | ||
setCellLighting myModHouse cellLighting | setCellLighting myModHouse cellLighting | ||
end | end |