Jump to content

Getting a weather form from a formlist


Recommended Posts

I got the following function:

function SetWeather()
    Weather.ReleaseOverride()
    Weather SelWeather = xxxWeatherList.GetAt(MCM.GetModSettingInt(ThisMod, "fSettingsSetWeather:Settings"))
    SelWeather.ForceActive(true)
endFunction

What i'm trying to do: get a weather form from the formlist, then apply it to ForceActive(true). But when i try to compile in the CK i get "type mismatch while assigning to a weather (cast missing or types unrelated)".

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...