Difference between revisions of "MDE Scripting: GetCurrentWeatherSetName"
From Nomad DB
Line 20: | Line 20: | ||
==Returns== | ==Returns== | ||
− | {| class="wikitable" width="100%" | + | {| class="wikitable" width="100%" style="table-layout: fixed;" |
!# | !# | ||
!Type | !Type | ||
Line 29: | Line 29: | ||
|The current [[MDE Scripting: Weather Sets|Weather Set]]. | |The current [[MDE Scripting: Weather Sets|Weather Set]]. | ||
|} | |} | ||
− | |||
==Examples== | ==Examples== |
Revision as of 19:28, 17 October 2020
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"