IETS - v0.5.1
    Preparing search index...

    Function Weather

    BG2 barrel re-exports.

    Generated by ts-update. Do not edit manually.

    Uses named re-exports (not export *) so esbuild can statically resolve each binding without falling back to runtime __reExport helpers for externalized .d.ts modules.

    • This action changes the weather. The action only works in outdoors areas that have weather enabled in the ARE file. Values for the weather parameter are from [weather.ids]({{ ids }}/weather.htm). Note that the fog weather type does not work.

       IF
         Global("KRSTORM","GLOBAL",0)
       THEN
         RESPONSE #100
           Weather(RAIN)
           SetGlobal("KRSTORM","GLOBAL",1)
       END
      

      {% capture note %} In the EE's, the action has no effect if Weather has been disabled in the game options. In addition, Fog option needs Enable Fog to be enabled in the game options. {% endcapture %} {% include note.html %}

      Parameters

      Returns Action