Thread Tools Display Modes
Prev Previous Post   Next Post Next
12-27-17, 11:14 AM   #1
siweia
A Flamescale Wyrmkin
 
siweia's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2011
Posts: 126
How to access an addon's function?

For example, an addon named "ABC" use title like:
Code:
local A, B, C = unpack(select(2, ...))

A.CreateFrame = function() end
B.CreateColor = function() end
C.CreateName = function() end
If I want to change some of the functions in the table, what should I do in the title to access the addon?
The belowing line seems not working by using the addon name.
Code:
local A, B, C = unpack("ABC")
  Reply With Quote
 

WoWInterface » Developer Discussions » General Authoring Discussion » How to access an addon's function?

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