MDE Scripting: GetCurrentWeatherSetName
From Nomad DB
Syntax | game.gfx:GetCurrentWeatherSetName()
|
---|---|
Module | GFX |
Library | Game |
Game | Mafia: Definitive Edition |
Description
Get the current Weather Set.
Use SetWeatherSet to change the weather set.
Returns
# | Type | Description |
---|---|---|
1 | string | The current Weather Set. |
Examples
local currentWeatherSetName = game.gfx:GetCurrentWeatherSetName() -- currentWeatherSetName returns "_default_game"