OK, next question. Assume I have a script which OnActivate sets a ref on a persistent object script using this function, like so:
set weatherref to GetCurrentWeatherID
Should I not then be able to use ForceWeather weatherref to reset the weather after a change?
The problem I am having is this function does not appear to work as advertised in the latest OBSE. After setting the reference as illustrated I set up a message to show what the variable had grabbed:
Message "Current Weather: %.4f", weatherref
This returns 0.000 which is obviously not right.
Any ideas?