Hi All,
I have found that the "drop an item" to transfer an item to a PC via the partybar to bit a bit temperamental. Therefore, I decided to build a very basic GUI to allow right-click on an inventory item , which brings up a listbox of the party members that have been declared as valid PCs to which the item can be passed. e.g. Ignores displaying summons, henchmen, etc.
The player then selects the PC to pass the item to and the item is transferred - nice and simple!
All works fine EXCEPT that I cannot see how to display the PC portrait alongside the PC name that I use in the listbox.
I have tried examining the various OC UIs, but have been unable to get the portrait images to display in the listbox image area.
EDIT: Alternatively, if anybody knows how to work out which "portrait" a PC uses and where/if it is stored as a variable on the PC anywhere?
Any help appreciated.
Cheers!
Lance.





Retour en haut






