Have a variable appear in a localization key
Moderator: Moderators
-
Noobasaurus
- Droid Pilot Assassin

- Posts: 2006
- Joined: Tue Aug 17, 2010 5:56 pm
Have a variable appear in a localization key
I have a variable that I want to appear in a string as a message to a player. I know that I can have variables in print messages, but I need one that appears to the player. Is there any way to do this?
Last edited by Noobasaurus on Thu Jul 10, 2014 11:49 am, edited 1 time in total.
- GAB
- 1st Lieutenant

- Posts: 431
- Joined: Sun Jul 03, 2011 8:56 pm
- Location: Somewhere around the world
- Contact:
Re: Have a variable appear in a localization string
I'm not sure if I understand well what you want, but I know that the script for the Felucia campaign, has a sort of variable localization string stuff. Maybe it would help you:
Hidden/Spoiler:
-
Marth8880
- Resistance Leader
- Posts: 5042
- Joined: Tue Feb 09, 2010 8:43 pm
- Projects :: DI2 + Psychosis
- xbox live or psn: Marth8880
- Location: Edinburgh, UK
- Contact:
Re: Have a variable appear in a localization string
If you mean basically using anything *but* localization key with ShowMessageText, I'm almost positive you can't do that. 
-
Noobasaurus
- Droid Pilot Assassin

- Posts: 2006
- Joined: Tue Aug 17, 2010 5:56 pm
Re: Have a variable appear in a localization string
@GAB: Thanks. That's really close to what I want, but that sets it to a certain localization key. I want to modify the localization string with a variable.
@Marth: So I'll have to use a localization key then, but I need it to load a variable.
@Marth: So I'll have to use a localization key then, but I need it to load a variable.
