Api session event editor weather

From Tygron Support wiki
Jump to navigation Jump to search

API Endpoint: api/session/event/editorweather/

API endpoints for Weather editing.

Name Description
add Add a new Weather of a specified type.
append_attribute Appended to existing Weather Attribute value
duplicate Create a copy of each specified Weather. The copies will have the same Settings and Attributes, but can be edited independently of the originals.
remove Remove the specified Weathers.
remove_attribute Remove the specified Attributes of the specified Weather. The Attributes, including Attributes which are added to a Weather by default, are removed entirely.
set_attribute Set Weather Attribute value
set_attributes Set multiple Weather Attribute values
set_name Set the name for a specified Weather.

Additional API endpoints:

Name Description
remove_flood_overlay Remove the specified visualization Overlay from specified Weather.
set_duration Set how long the specified Weather's visualization lasts when it is Triggered.
set_effect Set what kind of Weather the specified Weather is.
set_flood_overlay Set a specific visualization Overlay for a specified Weather.
set_trigger_sec Set whether the specified Weather's visualization Triggers automatically.