Difference between revisions of "MDE Scripting: CityGetActiveName"

From Nomad DB
 
Line 1: Line 1:
{{Page_MDE}}
 
 
{| class="wikitable"
 
{| class="wikitable"
 
!Syntax
 
!Syntax
Line 17: Line 16:
 
==Description==
 
==Description==
 
Returns the name of the city you are.
 
Returns the name of the city you are.
Probably used in '''Mafia III'''.
 
  
  
Line 42: Line 40:
  
 
__NOTOC__
 
__NOTOC__
 +
{{Page_MDE}}
  
 
[[Category:MDE]]
 
[[Category:MDE]]

Latest revision as of 16:16, 6 November 2020

Syntax
game.director:CityGetActiveName()
Module Director
Library Game
Game Mafia: Definitive Edition


Description

Returns the name of the city you are.


Returns

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


Examples

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