Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server
You last visited: Today at 04:28

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



AniImage SetParent buggy?

Discussion on AniImage SetParent buggy? within the Metin2 Private Server forum part of the Metin2 category.

Closed Thread
 
Old   #1
 
DasSchwarzeT's Avatar
 
elite*gold: 399
Join Date: Sep 2011
Posts: 5,323
Received Thanks: 3,938
AniImage SetParent buggy?

Moin Leute,

wenn ich ein AniImage in Python erstelle funktioniert eigentlich fast alles perfekt. Allerdings wird das SetParent erst angenommen, sobald ich das Board verschiebe. Davor ist es oben links in der Ecke bei den x und y Werten 0 und 0.

PHP Code:
        self.datimg ui.AniImageBox()
        
self.datimg.SetParent(self.Board)
        
self.datimg.SetPosition(2044)
        
self.datimg.AppendImage("1.tga")
        
self.datimg.AppendImage("2.tga")
        
self.datimg.AppendImage("3.tga")
        
self.datimg.SetDelay(10)
        
self.datimg.Hide() 
Das AniImg an sich funktioniert, lediglich das SetParent ist buggy. Hatte jemand schonmal dasselbe Problem und kennt nen fix?

Danke schonmal

EDIT:
Solved, das Board muss (warum auch immer) nach dem AniImage erneut ein SetPosition erhalten.
Ich lass hier mal alles drin stehen, falls jemand mal dasselbe Problem haben sollte.
DasSchwarzeT is offline  
Closed Thread


Similar Threads Similar Threads
Worldguard Setparent wie zurückmachen oder wo gespeichert
06/11/2013 - Minecraft - 12 Replies
hallo. Habe ebend großen Mist gebaut. Habe ausversehen ein GS über die ganze Stadt "protectet" mit /region steparent Nun meine Frage wie mache ich das ruckgängig oder wo ist dies gespeichert?
[GUIDE] Python GUI Coding mit SetParent func
04/13/2013 - Metin2 PServer Guides & Strategies - 17 Replies
Heute zeig euch mal wie ihr euch den ganzen mathe kram mit self.PetGUIBG.SetPosition((wndMgr.GetScreenWidth() -345)+130, 245) sparen könnt. Als erstes rendert ihr euer Board das könnt ihr von mir aus noch mit dem self.PetGUIBG.SetPosition((wndMgr.GetScreenWidth() -345)+130, 245) code machen. So wohlt ihr aber jetzt z.B ein Button erstellen. Dann benutzt ihr folgendes: self.Button1.SetParent(self.PetGUIBG) So was bedeutet das eigentlich? Ganz Einfach der Button befindet sich jetzt immer auf...
SetParent & Conquer?
01/13/2013 - CO2 Programming - 0 Replies
Is there any ways to achieve that? If you try to use SetParent with Conquer then the process will get killed, is there any workaround or would I be completely on my own to find a solution? :)



All times are GMT +2. The time now is 04:28.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.