Jump to content

Recommended Posts

Hi dev, I want to know what function had Metin2 Exodius used to make this killgui appear and disappear that slowly, my`n disappear instant.

 

 

Min : 0:45

 

 

I have it like this: 

sistem_onoare_bg = ui.Button()
sistem_onoare_bg.SetUpVisual("sistem_onoare/fundal.tga") 
sistem_onoare_bg.SetOverVisual("sistem_onoare/fundal.tga") 
sistem_onoare_bg.SetDownVisual("sistem_onoare/fundal.tga") 
self.sistem_onoare_bg = sistem_onoare_bg
self.sistem_onoare_bg.SetPosition(wndMgr.GetScreenWidth()/2-229,0)
self.sistem_onoare_bg.SetSize(459, 204)
self.sistem_onoare_bg.SetEvent(self.__CloseKillGui)
self.sistem_onoare_bg.Hide()

Thanks

Link to comment
https://metin2.dev/topic/3223-python-killgui-function/
Share on other sites

  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

It's not that easy, probably, the easiest way would be to use OnUpdate function, or make some kind of while loop which will change position of the window by one pixel to the default position.

Little advice:

y = 0

x = 100

 

while(x < 100):

 x += 1

Enough is enough

Link to comment
https://metin2.dev/topic/3223-python-killgui-function/#findComment-21237
Share on other sites

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.