I try to change a tooltip widget (fromLolUI) so the tooltip only shows up when the cursor is over a unit or a buildpic or commands. I changed/added this lines : 163-167; 236-238. But it still doesn't work.
I use the LolUI buildmenu. I already tried to make it show up when the build menu is shown and it worked but I wont it to show up when the mouse is over an icon not only when the build/commandmenu is shown.
Regret can you please have a look at the file I attached once and tell me what I am doing wrong. Now I'm using the whole LolUI but it still doesn't work.
Regret can you please have a look at the file I attached once and tell me what I am doing wrong. Now I'm using the whole LolUI but it still doesn't work.
You didn't set your "a" to true when the tooltip comes from other sources than unit or feature.
Thanks it works! The problem is the tooltip is also shown when the cursor is over trees for example, is it possible to check if the cursor is over a buildpic (or commandbutton)? like (sadly doesn't work):
Code:
if ((pointedobject == "buildpic")or(pointedobject == "command") ) then ...
Thanks it works! The problem is the tooltip is also shown when the cursor is over trees for example, is it possible to check if the cursor is over a buildpic (or commandbutton)? like (sadly doesn't work):
Code:
if ((pointedobject == "buildpic")or(pointedobject == "command") ) then ...
Delete line 169 in the last tooltip.lua I uploaded in this thread.
Users browsing this forum: Google Feedfetcher and 0 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum