Window Dressing

For toolset tutorials as well as question and answers.
User avatar
ç i p h é r
Retired
Posts: 2904
Joined: Fri Oct 21, 2005 4:12 pm
Location: US Central (GMT - 6)

Post by ç i p h é r »

1. If you're using GetWeather(), IIRC that returns the weather power setting for the area. In case you don't already know, you can open up nwscript.nss and look at what integer values those constants represent (WEATHER_POWER_* constants I think) or you may also be able to get that info using the "constants" tab in the script editor (click on a constant). You can also, click on the function name in the script editor (SetWeather and GetWeather) for an explanation of what parameters the functions take.

2. Uncertain. Someone will have to test that behavior to find out.

3. It depends on what you pass in as a parameter to GetWeather(). You can pass in either area or module to determine their weather settings respectively.

4. From my own testing, I think so, yes (I've never messed with weather and it has always been sunny), but there could be default values in area/module properties (I didn't see any but I wasn't exactly looking for them either).

5. Take a look at SetWeather(). Pull it up in the script editor (functions tab) and click on it for a brief explanation of what it accepts and returns. It seemed pretty straightforward from what I recall, but there's no substitute for testing things out in game.

Should curiosity get the better of you and you find it impossible to resist the urge to play around with NWN2 weather settings, please let us know what you discover. :D
User avatar
Teric neDhalir
Githyanki
Posts: 1495
Joined: Mon Jan 05, 2004 10:04 pm
Location: Manchester UK

Post by Teric neDhalir »

Found this looking for something else - don't know if it might help
http://www.slayweb.com/nwn2/sls.php
Locked