Jump to content

Emptyslot Tooltip


Recommended Posts

  • Active+ Member
22 hours ago, Amun said:

This is the hidden content, please

 

Made in February, I only tested it for 5 min.

Works fine, ty man 🙂

 

Evidence: https://metin2.download/picture/fWK0C8zEl9ZM44b7gqGkT7f67NajsJTY/.gif

 

A little fix:

1) under def __OverInEmptySlot(self, slotNum):, add:


 

arglen = len(str(ToolTip))

 

Add above: self.ideaToolTip.AppendTextLine(tooltipText), this:

 

self.ideaToolTip.SetThinBoardSize(3 * arglen)

 

Edited by Metin2 Dev International
Core X - External 2 Internal

spacer.png

Link to comment
Share on other sites

  • Contributor
Spoiler

  

On 11/1/2023 at 12:36 PM, SCOOB said:

Works fine, ty man 🙂

 

Evidence: https://metin2.download/picture/fWK0C8zEl9ZM44b7gqGkT7f67NajsJTY/.gif

 

A little fix:

1) under def __OverInEmptySlot(self, slotNum):, add:


 

arglen = len(str(ToolTip))

 

Add above: self.ideaToolTip.AppendTextLine(tooltipText), this:

 

self.ideaToolTip.SetThinBoardSize(3 * arglen)

 

 

 

Thanks for sharing, G.

I needed it to show an item on a locked page of the offline shop. The example is just something I've put together quickly for the people that didn't know how to do it, or wanted some fast C&P to see if it works.

None of you should take it as a "this is how it should be", feel free to edit it however you like(with different colors, maybe even show the item that goes there) and make it yours.

.png

  • Love 1
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • 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.