Forum Discussion
SimGuruEugi
EA Staff (Retired)
10 years ago"Forest_Ninja;15029666" wrote:"SimGuruEugi;15017871" wrote:
You want to be able to set the text and title to hard-coded strings? If so, you can set them to:
text=lambda **_: LocalizationHelperTuning.get_raw_text("Hello!")
You can find an example of triggering UI dialogs from code in ui_commands.py (ui_dialog_notification_test)
Is there any way to get an instance of TunableLocalizedString by hash?
Use
_create_localized_string(string_id, *tokens)
About The Sims 4 Mods & Custom Content
Find expert tips, troubleshooting help, tutorials for mods and custom content, and The Sims 4 patch files in our forum.15,685 PostsLatest Activity: 15 minutes ago
Community Highlights
Recent Discussions
- 15 minutes ago
- 22 minutes ago
- 24 minutes ago
- 25 minutes ago