MDE Scripting: CityGetActiveName

From Nomad DB
Revision as of 02:44, 17 October 2020 by Deewarz (talk | contribs) (Created page with "{| class="wikitable" !Syntax |<syntaxhighlight lang="lua">game.director:CityGetActiveName()</syntaxhighlight> |- !Module |Director |-...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Syntax
game.director:CityGetActiveName()
Module Director
Library Game
Game Mafia: Definitive Edition


Description

Returns the name of the city you are. Probably used in Mafia III.


Returns

# Type Description
1 string The name of the city you are.


Examples

local cityName = game.director:CityGetActiveName() -- cityName returns "Lost Heaven"