applyPattern
Server export to apply a saved weather pattern
applyPattern
Use this to start a saved weather pattern by its ID. It turns on pattern mode and sends the updated state to clients.
Weather changes use Config.WeatherTransitionSeconds by default. Pass true as the second argument to apply instantly. Weather freeze remains active until explicitly disabled.
Usage
local ok = exports["FS-Weather"]:applyPattern(1)Parameters
Prop
Type
Returns
- boolean: True when the pattern exists and was applied.