geci1234cs 2 Posted May 8, 2015 Share Posted May 8, 2015 Hello! How can i make a button in inventory for equipment changer? Link to comment Share on other sites More sharing options...
Premium Galet 510 Posted May 8, 2015 Premium Share Posted May 8, 2015 Yes of course, edit uiinventory.py, inventorywindows.py and game.py, it's as simple as that. ^^ Link to comment Share on other sites More sharing options...
name?usr 1 Posted May 8, 2015 Share Posted May 8, 2015 self.eq1 = self.GetChild2("eqq") if self.eq1: self.eq1.SetEvent(ui.__mem_func__(self.__eq1)) self.wndCostume = None def __eq1(self): import youpyname self.eqr = youpyname.youclassname() self.eqr.Show() { "name" : "eqq", "type" : "button", "x" : 118, "y" : 107, "tooltip_text" : "Equip", "default_image" : "imagename.dds", "over_image" : "imagename1.dds", "down_image" : "imagename.dds", }, Link to comment Share on other sites More sharing options...
geci1234cs 2 Posted May 8, 2015 Author Share Posted May 8, 2015 Thank you very much, what is classname? Link to comment Share on other sites More sharing options...
geci1234cs 2 Posted May 9, 2015 Author Share Posted May 9, 2015 Some1 can help me pls? Link to comment Share on other sites More sharing options...
name?usr 1 Posted May 11, 2015 Share Posted May 11, 2015 Some1 can help me pls? Script writer example; import app .. .. .. .. class eqchange(ui.ScriptWindow): you class name > eqchange self.eqr = youpyname.eqchange() Link to comment Share on other sites More sharing options...
Premium V0iĐ 114 Posted May 11, 2015 Premium Share Posted May 11, 2015 geci1234cs Are you a hungarian? (i think yes.) Because Pisti95 (here) written a tutorial. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now