Workshop.codes
Create

Trigger Weather Effect Last updated March 14, 2026

Description

Activates a visual weather effect across the map for a specified audience and duration. Effects are purely visual and do not affect gameplay, movement, or visibility checks. Available effects vary by map. Use Clear Weather Effect to remove an active weather effect before its duration expires.

Snippet

Trigger Weather Effect(All Players, Weather(Rain), 30);

Properties

Returns: Void
Parameters: Visible To, Weather, Duration

Visible To
Type: Player, Default: All Players
The players who will see the weather effect.

Weather
Type: Weather, Default: Weather(Rain)
The weather effect to trigger. Options vary by map.

Duration
Type: Number, Default: 10
How long the weather effect lasts, in seconds. Use 0 for an indefinite effect.

Workshop.codes