SSP Studio Tips

From SMTX Wiki
Revision as of 16:31, 21 May 2026 by Smtxwiki (talk | contribs)
Jump to navigation Jump to search

Avoid the white screen Get delegates for actor


Get a translation and add default value if missing (7.24.07)

  1. first parameter: Category
  2. second parameter: Label
  3. third parameter: Default Value
StudioInterface.translate('Common', 'Profile', 'My Profile');
return: the translation value for the SSP translations and if it doesn't exits yet, it will be added with the default value in the default language