Showing results 1 to 4 of 4
Search took 0.00 seconds.
Search: Posts Made By: LudiusMaximus
Forum: Lua/XML Help 10-31-20, 04:48 AM
Replies: 4
Views: 5,753
Posted By LudiusMaximus
OK, turns out you were right. I got another addon...

OK, turns out you were right. I got another addon hooking OnTooltipSetItem executing ClearLines().
If that goes first, it's like:

GameTooltip:HookScript("OnTooltipSetItem", function(self)
...
Forum: Lua/XML Help 10-31-20, 04:41 AM
Replies: 4
Views: 5,753
Posted By LudiusMaximus
So, this is interesting: I disabled all other...

So, this is interesting:

I disabled all other addons, and now I get the same for both cases:

1551.817 SetItem
1551.85 Cleared
1551.85 SetItem
1552.051 Cleared
1552.051 SetItem
1552.252 Cleared
Forum: Lua/XML Help 10-31-20, 04:35 AM
Replies: 4
Views: 5,753
Posted By LudiusMaximus
OK, I think my working example was not the best...

OK, I think my working example was not the best way to demonstrate it.
Let me put it this way:

GameTooltip:HookScript("OnTooltipSetItem", function() print(GetTime(), "SetItem")...
Forum: Lua/XML Help 10-30-20, 11:04 PM
Replies: 4
Views: 5,753
Posted By LudiusMaximus
HookScript mystery??

Can anybody explain the logic of this behaviour??

I am hooking OnTooltipSetItem and OnTooltipCleared of GameTooltip at two different times: when loading the addon and again with a 1 second...
Showing results 1 to 4 of 4