Thread Tools Display Modes
Prev Previous Post   Next Post Next
02-04-18, 05:42 PM   #1
kaimox
A Fallenroot Satyr
Join Date: Jun 2008
Posts: 25
attempt to index local 'f' (a nil value)

I have this function in my personal addon which worked until before Legion but it seems that Blizz changed something. Since the error message is kind of generic a search turned up nothing. I'm not really a coder, I just fumble around, so if someone could help me out ...

local function Hide(f)
f:SetScript('OnShow', f.Hide)
f:Hide()
end

Also I have some key bindings defined and I'm too stupid to find out which is the key binding name for lfg groups.
This one just works for manually created groups:

<Binding name="Party" >
ChatFrame_OpenChat("/p");
</Binding>
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » attempt to index local 'f' (a nil value)

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off