Description
Checks whether a disaster is currently active. If S1 is provided, checks whether the specified disaster type is active; if S1 is omitted, checks whether any disaster is active.
Parameters
| Parameter | Description |
|---|
| BaseObject | The object used as the context for this condition check. |
| CompareType | Supported compare types: Equal, NotEqual. |
| S1 | The disaster type to check (EB1WeatherType). If omitted, checks whether any disaster is currently active. |
Examples
| Description | BaseObject | Command | CompareType |
|---|
| Check if any disaster is currently active | Self | Disaster | Equal |
| Check if no disaster is currently active | Self | Disaster | NotEqual |
| Check if a HeatWave disaster is currently active | Self | Disaster | Equal |
| Check if a HeatWave is not currently active | Self | Disaster | NotEqual |