Hello,
I would like to display a country variable in localization. I know how to display a global variable, which is this way:
The code above works perfectly. However, i have a country variable that i would like to display, and i cannot find a way to do so. I see in the script explorer that it exists, i just don't know how to display it.
I tried all the following formats and nothing worked:
Any advice?
Thanks in advance,
I would like to display a country variable in localization. I know how to display a global variable, which is this way:
Code:
[GetGlobalVariable('MoneyPool').GetValue]
The code above works perfectly. However, i have a country variable that i would like to display, and i cannot find a way to do so. I see in the script explorer that it exists, i just don't know how to display it.

I tried all the following formats and nothing worked:
Code:
[GetVariable('MoneyPool').GetValue]
Code:
[GetCountryVariable('MoneyPool').GetValue]
Code:
[GetCountry.GetVariable('MoneyPool').GetValue]
Code:
[GetPlayer.GetCountry.GetVariable('MoneyPool').GetValue]
Any advice?
Thanks in advance,