Contains information related to changes in weather in the environment.

Hierarchy

  • WeatherChangeBeforeEvent

Constructors

Properties

cancel: boolean

Remarks

If set to true the weather change will be cancelled.

duration: number

Remarks

Sets the duration of the new weather (in ticks).

newWeather: WeatherType

Remarks

The type of weather that will be applied.

previousWeather: WeatherType

Remarks

The type of weather that it was prior to the event being fired.