kieranFMT2 302 Posted October 9, 2016 Share Posted October 9, 2016 (edited) Hey i was wondering if some1 cud help me with this. As you can see in the picture when i click on the left the system loads fully but when i click on the right it does not. left gui = game.py and right gui = uiinventory.py Here is the uiinventory.py part of the interface Spoiler self.titrepvp = self.GetChild2("Titre") ## Systeme de titre if self.titrepvp: self.titrepvp.SetEvent(ui.__mem_func__(self.ClickTitrePvP)) self.dlgtitrepvp = uititre.TitreGui() def ClickTitrePvP(self): import uititre self.dlgtitrepvp.Show() self.dlgtitrepvp.OnOpen() def __TitrePVP(self, titre): titre = titre.replace("-", " "); ## Remplace tout les tiret recu par un espace. self.titrepvp.ReceptionTitre(titre) ## Ajoute le titre recus sur la GUI def __TitrePVPDescription(self, description): TitreDescriptionPhrase = description TitreDescriptionPhrase = TitreDescriptionPhrase.replace("-", " ") TitreDescriptionPhrase = TitreDescriptionPhrase.replace(".", ".[SAUT]") TitreDescriptionPhrase = TitreDescriptionPhrase.replace("!", "![SAUT]") TitreDescriptionPhrase = TitreDescriptionPhrase.replace(",", ",[SAUT]") self.titrepvp.ReceptionDescription(TitreDescriptionPhrase) Any help would be gladly appreciated Thanks. Edited August 24, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
kieranFMT2 302 Posted October 9, 2016 Author Share Posted October 9, 2016 #Solved 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