How to display Item Image in tooltip

All development conversation and discussion takes place here

Moderator: Moderator

Post Reply
Message
Author
deogo
Wayist
Posts: 17
Joined: Mon Jun 16, 2014 4:32 pm

How to display Item Image in tooltip

#1 Post by deogo »

Hey guys, help needed
I'd like to display a bigger item image in tooltip, but can't figure the proper code
the string #UID: .. <UID> .. ":0" seems always create a text-sized images (it's used in tooltip name by default)

i've found a lot of :display, :toScreen and :toScreenFull functions but have no idea how to use them for item tooltip
the self.image for item seems contains some data
i'd like to add item image in
\mod\class\Object.lua:getDesc

Post Reply