Trouble with tooltips
Posted: Fri Sep 06, 2013 12:28 pm
I'm trying to add tooltips to my ShowEquipInven.lua (by using an on_select function, similar to ToME's) and am running into problems. If I use the normal game.tooltip, it generally works, but it's shown under the inventory / equipment dialog. If I try making a new tooltip owned by ShowEquipInven, it's shown on top, but it disappears as soon as its shown. What's the proper way to do this? How do I control tooltips' Z order and lifetime?