The weatherChangedImmediate event occurs when the currently simulated weather is changed without transition. This can occur when going from an interior to an exterior in a new region, or while resting. This can interrupt weather transitions, which means the
weatherTransitionFinished event will not be triggered.
--- @param e weatherChangedImmediateEventData local function weatherChangedImmediateCallback(e) end event.register(tes3.event.weatherChangedImmediate, weatherChangedImmediateCallback)
An event can be claimed by setting
true, or by returning
false from the callback. Claiming the event prevents any lower priority callbacks from being called.
to(tes3weather): The weather object that is the new current weather. Can be modified to change behavior.