Showing results 1 to 10 of 10
Search took 0.00 seconds.
Search: Posts Made By: LudiusMaximus
Forum: Lua/XML Help 09-29-20, 05:19 PM
Replies: 16
Views: 7,810
Posted By LudiusMaximus
Yeah, I do it like this...

Yeah, I do it like this now:

hooksecurefunc(WorldMapFrame, "SetMapID",
function(self, mapID)
-- During combat, the OnClick functions of the dungeon/boss pins do not manage
-- to bring up...
Forum: Lua/XML Help 09-29-20, 07:01 AM
Replies: 16
Views: 7,810
Posted By LudiusMaximus
I think this is the best way to...

I think this is the best way to go:

testButton:SetScript("OnClick", function()

if InCombatLockdown() then

-- If you are using an addon that has removed WorldMapFrame from...
Forum: Lua/XML Help 09-29-20, 06:42 AM
Replies: 16
Views: 7,810
Posted By LudiusMaximus
It turns out you can get this to work if you...

It turns out you can get this to work if you do.


UIPanelWindows["WorldMapFrame"] = nil
WorldMapFrame:SetAttribute("UIPanelLayout-area", nil)
WorldMapFrame:SetAttribute("UIPanelLayout-enabled",...
Forum: Lua/XML Help 09-28-20, 04:33 PM
Replies: 16
Views: 7,810
Posted By LudiusMaximus
What I really want to achieve is that the...

What I really want to achieve is that the AdventureJournal opens when clicking on a dungeon(-boss) pin on the map during combat while the map closes itself. So I basically want to imitate the...
Forum: Lua/XML Help 09-28-20, 04:05 AM
Replies: 16
Views: 7,810
Posted By LudiusMaximus
OK, good to know that it is at least...

OK, good to know that it is at least reproducible. :-)

I think I will break down Mapster to find and then copy whatever it does to prevent this effect from happening.
Forum: Lua/XML Help 09-27-20, 05:33 PM
Replies: 16
Views: 7,810
Posted By LudiusMaximus
I had all other addons disabled. Have you tried...

I had all other addons disabled.

Have you tried it with all other addons disabled?

I just noticed that when I have "Mapster" activated at the same time, the issue is not there.

At least I could...
Forum: Lua/XML Help 09-27-20, 05:18 PM
Replies: 16
Views: 7,810
Posted By LudiusMaximus
What's going on here?? What class are you trying...

What's going on here?? What class are you trying this with?

In my video I used a DemonHunter, where pressing ESC does neither cancel combat nor open the menu.

When I tried a warlock, pressing ESC...
Forum: Lua/XML Help 09-27-20, 05:07 PM
Replies: 16
Views: 7,810
Posted By LudiusMaximus
So you are saying that after opening the map and...

So you are saying that after opening the map and then hiding it with /run WorldMapFrame:Hide(), your ESC key is still working?

(In my video you can see how often I press ESC: "You pressed ESC" being...
Forum: Lua/XML Help 09-27-20, 04:53 PM
Replies: 16
Views: 7,810
Posted By LudiusMaximus
(Regarding the global button variable: you are of...

(Regarding the global button variable: you are of course right. I just did not pay that much attention when creating the example.)

But that it works for you is hard to believe. I have just checked...
Forum: Lua/XML Help 09-27-20, 04:05 PM
Replies: 16
Views: 7,810
Posted By LudiusMaximus
ToggleGameMenu() not working after WorldMapFrame:Hide()

I want a button to hide the WorldMapFrame (even during combat).
The only way to do this seems to be WorldMapFrame:Hide(), because all other ways I could think of (HideUIPanel(WorldMapFrame),...
Showing results 1 to 10 of 10