Showing results 1 to 1 of 1
Search took 0.00 seconds.
Search: Posts Made By: Zwacky
Forum: Lua/XML Help 09-15-10, 05:30 PM
Replies: 3
Views: 3,628
Posted By Zwacky
your local function eventHandler(...) function is...

your local function eventHandler(...) function is just a function and isn't connected with the frame, that has all the events.

Taroven's approach is right.
just do
frame:SetScript('OnEvent',...
Showing results 1 to 1 of 1