View Single Post
Old 03-14-2003, 03:10 PM   #3
Armengar
A Ghoul
 
Join Date: Aug 2002
Server: Tunare
Posts: 19
Interface Author - Click to view interfaces
Default

Funny you should mention the pet window since that it exactly where I have my "perminant" inventory located. There are a couple of issues with doing this but it is definately possible.

1. If you simply copy everything from one window to the other without renaming the individual elements you will get the duplication error. Notice that within the windows each element name starts with an abreviation for that window. This isn't the system that you have to use but it does give each instance of, for example, your chest slot a unique name. As I recall everything in the Pet Window starts with PW_ while everything in the Inventory Window starts with IW_, making your two unique chest slot instances PW_Chest and IW_Chest. Each slot will contain the exact same item of course but you now have two unique instances of your Chest slot. Also be sure that the element names are mirrored in the "Pieces" lines of your code.

2. The autoequip box will ONLY work in the Inventory Window, period. You can't move it and you can only have the one instance that exists in the Inventory Window.

3. Do not try to create hotbuttons from your "new" inventory slots in the Pet Window. From personal experience, left-click-hold will crash you to desktop. You CAN left-click as normal to swap out what is equiped in the slot but don't try to hold the mouse button down. I'm guessing that it has to do with the way the windows are hard coded to behave and the Pet Window is not coded to allow for the creation of hotkeys.

That's all I can think of at the moment. Hope it helps.
Armengar is offline   Reply With Quote