Tile - YWeather - Set Weather At – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search

Set Weather At(Weather, Position, Instant)

YlandsTile-547.png

static setWeather(weather: YWeather, position: YVector3, instant: boolean): void;

Parameters

weather

New weather

position

Target position

instant

Whether the weather changes instantly

Availability

Server

Description

Allows to set the weather at the target position.