MDE Scripting: SetWeatherSet

From Nomad DB
Revision as of 19:28, 27 October 2020 by Jan (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Syntax
game.gfx:SetWeatherSet(string weatherSetName, number unk2, number unk3)
Module GFX
Library Game
Game Mafia: Definitive Edition


Description

Set the Weather Set you want.

Use GetCurrentWeatherSetName to get the current weather set.


Parameters

Name Type Description
weatherSetName string Find weather set name here : Weather Sets
unk2 number Unknown. You can use 0.
unk3 number Unknown. You can use 0.


Returns

Returns nothing.


Examples

game.gfx:SetWeatherSet("_default_game", 0, 0) -- sets the weather set as "_default_game"