Quote:
Originally Posted by Endless.
check you uiinventory.py in your /root oder /uiscript from your pack Folder.
search your Text where not works perfect, and then show me your Code here, maybe i can help you.
|
ui inventory:
self.TicketButton = self.GetChild2("TicketButton")
if self.TicketButton:
self.TicketButton.SetEvent(ui.__mem_func__(self.To ggleTicketWindow))
self.TicketButton = None
def ToggleTicketWindow(self):
constInfo.Tickets['QCMD'] = 'OPEN#'
event.QuestButtonClick(constInfo.Tickets['QID'])
These are all the codes inside uiinventory.py related to the "Ticket" button
I have opened all the root + uiscript files but I can't find the "Friends" "Inventory" and "Options" keys
UISCRIPT BUTTOMS Friend etc:
{
"name" : "ItemShopButton",
"type" : "button",
"x" : 58+14+3 +8,
"y" : 84 + 3- 46,
"default_image" : "item_shop/no_lighting.tga", #trasparent
"over_image" : "item_shop/lighting.tga",
"down_image" : "item_shop/no_lighting.tga",
},
{
"name" : "InventoryButton",
"type" : "button",
"x" : 5 +3 ,
"y" : 93- 46 +5,
"tooltip_text" : uiScriptLocale.TASKBAR_INVENTORY,
"default_image" : "button/inventory_button_normal.tga",
"over_image" : "button/inventory_button_over.tga",
"down_image" : "button/inventory_button_active.tga",
},
{
"name" : "MessengerButton",
"type" : "button",
"x" : 13 +6,
"y" : 70- 46 +6,
"tooltip_text" : uiScriptLocale.TASKBAR_MESSENGER,
"default_image" : "button/friends_button_normal.tga",
"over_image" : "button/friends_button_over.tga",
"down_image" : "button/friends_button_active.tga",
},
{
"name" : "SystemButton",
"type" : "button",
"x" : 3,
"y" : 120-46 +1,
"tooltip_text" : uiScriptLocale.TASKBAR_SYSTEM,
"default_image" : "button/system_button_normal.tga",
"over_image" : "button/system_button_over.tga",
"down_image" : "button/system_button_active.tga",