Change of Lightness via LUA?

  • #1, by marvelSaturday, 06. July 2013, 13:26 12 years ago
    Is there a chance of changing the lightness of a scenery via lua?

    Key Killer

    599 Posts


  • #2, by afrlmeSaturday, 06. July 2013, 13:31 12 years ago
    you can edit brightness of scene or use lightmap I think.

    getObject["Scenes[scene_name]"]:setValue(VSceneBrightness, int) -- add number between 1 & 100
    


    but you can change scene brightness via actionparts also; either via "scene" or "miscellaneous" I forget which section.

    P.S: you've just reminded...
    could David or someone add a global scene/game brightness setting?

    Imperator

    7285 Posts