Quantcast
WoWInterface - Search Results
Showing results 1 to 9 of 9
Search took 0.00 seconds.
Search: Posts Made By: LudiusMaximus
Forum: Lua/XML Help 04-14-21, 03:31 PM
Replies: 16
Views: 2,431
Posted By LudiusMaximus
That's what I supposed, too. But the...

That's what I supposed, too. But the implementation of AceEvent-3.0.lua is really beyond me...
I cannot spot any point where it would seem to maintain such a table of registered events.

What really...
Forum: Lua/XML Help 04-14-21, 02:37 PM
Replies: 16
Views: 2,431
Posted By LudiusMaximus
That's exactly what DynamicCam allows. Users are...

That's exactly what DynamicCam allows. Users are able to create their own custom situations in which certain camera settings should be applied. This includes the events at which the situation...
Forum: Lua/XML Help 04-12-21, 01:57 PM
Replies: 16
Views: 2,431
Posted By LudiusMaximus
Cool! Thanks to both of you! :-D

Cool! Thanks to both of you! :-D
Forum: Lua/XML Help 04-11-21, 03:12 PM
Replies: 16
Views: 2,431
Posted By LudiusMaximus
What you suggest is a good way to check if an...

What you suggest is a good way to check if an event exists! Do you think it is more efficient than my solution:


if not APIDocumentation then
LoadAddOn("Blizzard_APIDocumentation");
end
local...
Forum: Lua/XML Help 04-10-21, 05:40 AM
Replies: 16
Views: 2,431
Posted By LudiusMaximus
It must be something about pcall() then. Another...

It must be something about pcall() then.
Another even more minimal working example:

local folderName = ...
local myAddon = LibStub("AceAddon-3.0"):NewAddon(folderName, "AceEvent-3.0")

function...
Forum: Lua/XML Help 04-10-21, 03:49 AM
Replies: 16
Views: 2,431
Posted By LudiusMaximus
I found a way to get a list of all events: if...

I found a way to get a list of all events:

if not APIDocumentation then
LoadAddOn("Blizzard_APIDocumentation");
end

local allEvents = APIDocumentation:GetAPITableByTypeName("event")

for k, v in...
Forum: Lua/XML Help 04-10-21, 03:14 AM
Replies: 16
Views: 2,431
Posted By LudiusMaximus
OK, it seems that UnregisterAllEvents() tries to...

OK, it seems that UnregisterAllEvents() tries to unregister every event that was ever given to RegisterEvent(), regardless of whether it is an existing event or not.

So even when a non-existing...
Forum: Lua/XML Help 04-09-21, 05:19 PM
Replies: 16
Views: 2,431
Posted By LudiusMaximus
If nobody has an answer to this strange behaviour...

If nobody has an answer to this strange behaviour of AceEvent-3.0,
maybe someone can tell me how to let my code check itself if an event exists?
Thanks!
Forum: Lua/XML Help 04-08-21, 02:00 PM
Replies: 16
Views: 2,431
Posted By LudiusMaximus
AceEvent-3.0 tricked into registering non-existent events??

In my addon DynamicCam, the user can create custom situations including lists of events when to check the situation conditions.

If the user enters non-existent events, I want to show them my own...
Showing results 1 to 9 of 9