Fandom

NWN2Wiki

RecomputeStaticLighting

3,791pages on
this wiki
Add New Page
Talk0 Share

The RecomputeStaticLighting NWScript function will not be included in NWN2, because lighting is no longer static as in NWN. It's 100% dynamic.

// All clients in oArea will recompute the static lighting.
// This can be used to update the lighting after changing any tile lights or if
// placeables with lights have been added/deleted.
void RecomputeStaticLighting(object oArea);

Note: This function has been included in the toolset and does not raise any exceptions or warnings when compiled

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.