Forum Discussion
# For catalog object instances (i.e. object definitions)
import services
definition = services.definition_manager().get(definition_id)
# For other tuning types
instance_manager = services.get_instance_manager(resource_type) # e.g. sims4.resources.Types.INTERACTION
instance_tuning = instance_manager.get(tuning_id)"Forest_Ninja;14876983" wrote:
"SimGuruEugi;14868273" wrote:
# For catalog object instances (i.e. object definitions)
import services
definition = services.definition_manager().get(definition_id)
# For other tuning types
instance_manager = services.get_instance_manager(resource_type) # e.g. sims4.resources.Types.INTERACTION
instance_tuning = instance_manager.get(tuning_id)
Is there any function which can be used to get the catalog name string from the output of get_object_catalog_name() or the list for Types.OBJCATALOG ?
Do you mean the English/translated text? No, not in Python. Python is only aware of string IDs.
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.
4,860 PostsLatest Activity: 16 hours agoRelated Posts
Recent Discussions
- 16 hours ago
- 2 days ago
- 2 days ago
- 3 days ago