Difference between revisions of "MDE Scripting: GetCurrentWeatherSetName"

From Nomad DB
(Created page with "{| class="wikitable" !Syntax |<syntaxhighlight lang="lua">game.gfx:GetCurrentWeatherSetName()</syntaxhighlight> |- !Module |GFX |- !Library...")
 
Line 17: Line 17:
 
Get the current [[MDE Scripting: Weather Sets|Weather Set]].
 
Get the current [[MDE Scripting: Weather Sets|Weather Set]].
  
 +
Use [[MDE Scripting: SetWeatherSet|SetWeatherSet]] to change the weather set.
  
 
==Returns==
 
==Returns==

Revision as of 03:20, 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"