Tomatekh
Emperor
- Joined
- Aug 6, 2012
- Messages
- 1,434
I add a notification message after a Great Person does a certain event. I have no problem adding the notification with all sorts of text, I've done that before. However, I would like to add the specific Great Person's name that triggered the event in the notification text. So, if I have an engineer named Tesla trigger the event, I would like the text to read "Tesla has..." etc. etc.
I realize I have no idea how to retrieve a units unique name (if possible) to display. It's probably something Locale.ConvertTextKey, but I don't know how to get the specific TXT key that unit is using for its name.
Any advice?
I realize I have no idea how to retrieve a units unique name (if possible) to display. It's probably something Locale.ConvertTextKey, but I don't know how to get the specific TXT key that unit is using for its name.
Any advice?