I changed/added this lines : 163-167; 236-238. But it still doesn't work.

Moderator: Moderators
You didn't set your "a" to true when the tooltip comes from other sources than unit or feature.thedude wrote: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.
Code: Select all
if ((pointedobject == "buildpic")or(pointedobject == "command") ) then ...
Delete line 169 in the last tooltip.lua I uploaded in this thread.thedude wrote: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: Select all
if ((pointedobject == "buildpic")or(pointedobject == "command") ) then ...