View Single Post
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