skidude6200
2012-03-01 11:39:28
Hey everyone,
I'm in the beginning stages of scripting and need to know a bit about inventory management. I'm currently working on an impling catcher that works within the confines of the Al-Kharid resource dungeon.
Lets say that I wanted to be able to loot the less valuable jars within the dungeon and drop whatever was inside (you can't just release the imp without getting the drop as this results in destroying the jar) to prolong trips. The only way I can think of to make this work is to create 100+ DTMs, one for each possible loot in the lower-level jars. Other than being rather time consuming, would this actually work? Alternatively, is there a way to drop everything in the inventory that doesn't match one of my pre-defined DTMs?
Any help you can give would be great.
I'm in the beginning stages of scripting and need to know a bit about inventory management. I'm currently working on an impling catcher that works within the confines of the Al-Kharid resource dungeon.
Lets say that I wanted to be able to loot the less valuable jars within the dungeon and drop whatever was inside (you can't just release the imp without getting the drop as this results in destroying the jar) to prolong trips. The only way I can think of to make this work is to create 100+ DTMs, one for each possible loot in the lower-level jars. Other than being rather time consuming, would this actually work? Alternatively, is there a way to drop everything in the inventory that doesn't match one of my pre-defined DTMs?
Any help you can give would be great.