U.N.Owen Posted July 28, 2018 Share Posted July 28, 2018 In every prefab file we can see something like this: local prefabs = { -- list of prefabs that can be summoned by this prefab } In scripts/prefabs.lua this table is assigned to prefab.deps. However, actually, unlisted prefabs can be summoned too. It usually used for dynamically add custom loot, etc. I used it and did't notice any difference. So what is it for? And, if this prefab.deps realy need, can I update it dynamically? From AddPrefabPostInit for example? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.