SetWeatherAction ​
Inherits: EventAction < Resource
Action to change the current map's weather at runtime: for the whole world, or only for the zone the party is in. It wins over the weather and the tables of the zones and of the world, and stays until a Release Weather action takes it away. See docs: World > Weather > Events.
Properties ​
Scope | scope | Scope.WORLD |
WeatherConfig | weather_config | |
VFXSelectionWeather | weather_selection | |
float | intensity | 1.0 |
float | transition_duration | 5.0 |
Methods ​
String | get_function_description() |
Dictionary | save() |
void | load_data( data: Dictionary ) |
Enumerations ​
enum Scope ​
Where the weather is set: the whole world, or the zone the party is in now (and the zones in it; the weather of the other zones does not change)
- WORLD =
0 - CURRENT_ZONE =
1
Property descriptions ​
Scope scope = Scope.WORLD ​
Where the weather is set. Current Zone needs the party to be in a zone; outside the zones it is set for the whole world
WeatherConfig weather_config ​
The weather to bring (a Weather config of the project). Empty = clear weather
VFXSelectionWeather weather_selection ​
The old weather selection (used only when no Weather config is set)
float intensity = 1.0 ​
How strong the weather is (0 to 1, times the intensity of the weather itself): 1 = as the weather says, 0.3 = a light version of it
float transition_duration = 5.0 ​
Duration of transition in seconds (0 = instant)
Method descriptions ​
String get_function_description() ​
Return a description of this action with parameter placeholders
Dictionary save() ​
Save action state to a dictionary
void load_data( data: Dictionary ) ​
Load action state from a dictionary