How get all prefabs which contains LootContainer
Getting prefabs containing LootContainer?
Discussion in 'Rust Development' started by bazuka5801, Feb 5, 2017.
-
Try something like:
Code:var containers = BaseEntity.serverEntities.Where(x => x is LootContainer)
-
-
Ok, another question, i need all string prefabs which contains scipt LootContainer
-
So you need the full prefab names? Like assets/prefabs/whatever? If so simply search in google finding prefab names for oxide and you are destined to find results. Im pretty sure there is a tool to do this in rust as well(under some oxide category)
-