Difference between revisions of "MDE Scripting: CityGetActiveName"
From Nomad DB
(Created page with "{| class="wikitable" !Syntax |<syntaxhighlight lang="lua">game.director:CityGetActiveName()</syntaxhighlight> |- !Module |Director |-...") |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
|- | |- | ||
!Module | !Module | ||
− | |[[ | + | |[[MDE Scripting: Game Library#Director|Director]] |
|- | |- | ||
!Library | !Library | ||
− | |[[ | + | |[[MDE Scripting: Game Library|Game]] |
|- | |- | ||
!Game | !Game | ||
− | |[[ | + | |[[MDE Scripting|Mafia: Definitive Edition]] |
|} | |} | ||
Line 16: | Line 16: | ||
==Description== | ==Description== | ||
Returns the name of the city you are. | Returns the name of the city you are. | ||
− | |||
Line 26: | Line 25: | ||
!Description | !Description | ||
|- | |- | ||
− | |1 | + | | style="font-weight: bold; text-align:center;" | 1 |
|string | |string | ||
|The name of the city you are. | |The name of the city you are. | ||
Line 41: | 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"