Jump to content

Forced weather from forms


Robinsage

Recommended Posts

I'd like to force in a specific weather type if another specific type is present. Simple enough but I'm trying to do it without having to assign any properties.

 

This fragment seems logical but It's not working.

If Weather.GetCurrentWeather() == (Game.GetForm(0x000C1234))
  (Game.GetForm(0x00004321)). ForceActive(True)
EndIf 

I may be close or way off base. Can anyone assist?

 

Thanks in advance =)

Link to comment
Share on other sites

Use properties, silly.

 

Note this warning in the CK Wiki page for GetForm: "Scripts should always be blind to the contents of data files, and rely on properties as the interface through which they access data from data files. As such, this function should only ever be used for debugging purposes."

Link to comment
Share on other sites

  • Recently Browsing   0 members

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