New Weather (Expression) — Skript

Addon: Skript · Category: Expression

Syntax

[a] [new] weather with rain level %number% [[(,|and)] [with] thunder level %number%]

Description

Creates a weather with the given rain and thunder levels. Both are numbers between 0 and 1 and are clamped to that range. A level that isn't given defaults to 0.

Examples

set weather of {_instance} to new weather with rain level 0.4 and thunder level 0.2
set {_drizzle} to new weather with rain level 0.15

View source