Gaming
 

RecomputeStaticLighting

From NWN2Wiki

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