Extra Inventory Panel

So I've been playing around with Jay's excellent extra pane library (thank you!), but I have a couple of questions. Since it doesn't appear to be an object in the game, or have a parent, how can I use functions like ScopeInventory () or foreach ()?

Say I want to use the second pane as an equipment panel, and I want each object contained to have a weight, and that the weight of all objects should be tallied together to check against the player's equip load. How could I go about doing this?


Ah, I think I've answered my own question.

I can create another object (that's inaccessible to the player) and move items there when the player picks them up. Then I can create an object list and add that list to the second pane, while still being able to get direct children of the object that holds them. Shouldn't be too complicated.


I'm glad you worked it out. It's been a while since I looked at that. :) (But I will if you have any more questions.)


Great! And thanks again for making it in the first place. It'd be a nightmare trying to figure that out on my own!


This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums