FANDOM


function SetWeather (object oTarget, int nWeather, int nIntensity )

Set the weather for oTarget.

  • oTarget: if this is GetModule(), all outdoor areas will be modified by the weather constant. If it is an area, oTarget will play the weather only if it is an outdoor area.
  • nWeather: WEATHER_*
    • WEATHER_USER_AREA_SETTINGS will set the area back to random weather.
    • WEATHER_CLEAR, WEATHER_RAIN, WEATHER_SNOW, WEATHER_FOG will make the weather go to the appropriate precipitation without stopping.
  • nIntensity: weather intensity [0-100] (not used for WEATHER_CLEAR)
  • Return type: void
  • Include file: nwscriptdefn

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.