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 https://forums.kleientertainment.com/forums/topic/94088-prefabdeps-%E2%80%94-it-is-for/ Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now